Party Membership
Entities memberships on different parties. Basically assigns persons or organisations to parties.
Relevant links
Fields
| Name | Description | Format | Reference |
|---|---|---|---|
| id | Unique surrogate identifier. | bigint Read only |
|
| party_id | Reference to the party that the membership links to an entity. | bigint Required Non-updatable |
party.id |
| entity_id | Reference to the entity that the party represents. | bigint Required Non-updatable |
entity.id |
| scopes | List of scopes granted to the entity when it acts as the party. Scopes are inspired from OAuth 2.0 and allow refinement of access control and privilege delegation mechanisms. | Required Array |
|
| recorded_at | When the resource was recorded (created or updated) in the system. | date-time Read only |
|
| recorded_by | The identity that recorded the resource. | bigint Read only |
Validation Rules
No validation rules.
Notifications
No notifications.
Authorization
Resource Level Authorization
Below is the RLA for the resource. The default policy is deny.
Entity
| Policy key | Policy | Status |
|---|---|---|
| PTYM-ENT001 | Read all the PTYM concerning the current entity | DONE |
| PTYM-ENT002 | Read all the PTYM in parties that they own | DONE |
Anonymous
No policies.
Common
| Policy key | Policy | Status |
|---|---|---|
| PTYM-COM001 | Read all the PTYM concerning the current party | DONE |
| PTYM-COM002 | Read all the history of PTYM concerning the current party | DONE |
Balance Responsible Party
No policies.
End User
No policies.
Energy Supplier
No policies.
Flexibility Information System Operator
| Policy key | Policy | Status |
|---|---|---|
| PTYM-FISO001 | Create, read, and delete all PTYM | DONE |
| PTYM-FISO002 | Read all PTYM history | DONE |
Organisation
| Policy key | Policy | Status |
|---|---|---|
| PTYM-ORG001 | Read, create, update and delete PTYM on all parties owned by the entity owning the organisation party. | DONE |
| PTYM-ORG002 | Read PTYM history on all parties owned by the entity owning the organisation party. | DONE |
System Operator
No policies.
Service Provider
No policies.
Third Party
No policies.
Field Level Authorization
For party type abbreviations, check the authentication docs.
| FIELD | ANON | BRP | ES | EU | FISO | SO | SP | TP | ORG |
|---|---|---|---|---|---|---|---|---|---|
| id | R | R | R | R | R | R | R | R | |
| entity_id | R | R | R | RC | R | R | R | RC | |
| party_id | R | R | R | RC | R | R | R | RC | |
| scopes | R | R | R | RCU | R | R | R | RCU | |
| recorded_at | R | R | R | R | R | R | R | R | |
| recorded_by | R | R | R | R | R | R | R | R |