CommandPermission

No description

type CommandPermission {
commandName: String!
permissionName: String!
phaseType: PhasesEnum
roleType: RolesEnum
}

Fields#

commandName (String!)#

DEPRECATED Deprecated due to a name change to `permissionName`. Use that attribute instead.

permissionName (String!)#

A name that indicates if a user can execute a set of specific actions in the system. The permission name is usually descriptive enough and will not always match 1:1 with a mutation name.

Value in permissionNameReferenced mutation
vote_to_proposals_in_ballotfundPartyBallotProposal
vote_to_proposals_in_ballotdefundPartyBallotProposal
vote_to_proposals_in_ballotreactToPartyBallotProposal

phaseType (PhasesEnum)#

Type of phase type in which the role has permission on the permission check.

Returns: String

Examples: PLANNING, IDEATION, VOTING

roleType (RolesEnum)#

Type of role that is being allowed on the permission check.

Returns: String

Examples: CYCLE_ADMIN, CYCLE_PARTICIPANT