Skip to main content

Grant and Privilege Messages

Error codes related to grant and privilege operations.


Overview

CodeMessageDescription
GRT001Privilege {0} has already been grantedPrivilege has already been granted, violates unique constraint.
GRT002Privilege {0} has not yet been grantedPrivilege has not yet been granted to this entity.
PRV001Privilege {0} does not existPrivilege not found with the provided ID.
PRV002Privilege {0} has already existedPrivilege already exists, violates unique constraint.
PRV003Privilege id {0} has already existedPrivilege 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. No action needed; privilege is already assigned.