Grant and Privilege Messages
Error codes related to grant and privilege operations.
Overview
| Code | Message | Description |
|---|---|---|
GRT001 | Privilege {0} has already been granted | Privilege has already been granted, violates unique constraint. |
GRT002 | Privilege {0} has not yet been granted | Privilege has not yet been granted to this entity. |
PRV001 | Privilege {0} does not exist | Privilege not found with the provided ID. |
PRV002 | Privilege {0} has already existed | Privilege already exists, violates unique constraint. |
PRV003 | Privilege id {0} has already existed | Privilege ID already exists, violates unique constraint. |
Error Code Details
GRT001
Message
Privilege {0} has already been granted
Description
Privilege has already been granted, violates unique constraint.
Root Cause
- The specified privilege has already been granted to the target entity.
Resolution
- No action needed; privilege is already assigned.
GRT002
Message
Privilege {0} has not yet been granted
Description
Privilege has not yet been granted to this entity.
Root Cause
- The specified privilege has not been granted to the target entity.
Resolution
- Grant the privilege first before revoking.
PRV001
Message
Privilege {0} does not exist
Description
Privilege not found with the provided ID.
Root Cause
- The privilege ID provided does not match any existing privilege.
Resolution
- Verify the privilege ID and ensure it exists.
PRV002
Message
Privilege {0} has already existed
Description
Privilege already exists, violates unique constraint.
Root Cause
- A privilege with the provided identifier already exists in the system.
Resolution
- No action needed; privilege is already assigned.
PRV003
Message
Privilege id {0} has already existed
Description
Privilege ID already exists, violates unique constraint.
Root Cause
- A privilege with the provided ID already exists in the system.
Resolution
- No action needed; privilege is already assigned.