commandPermissions

List the command permissions in the app.

The arguments roleType and phaseType should work as filters for the list of command permissions. Select both fields as null and get every possible permissions. Use the filters to get a scoped list.

commandPermissions(
roleType: RolesEnum
phaseType: PhasesEnum
): [CommandPermission!]

Arguments#

roleType (RolesEnum)#

Filter by role type.

For example: roleType as CYCLE_ADMIN will get you a list of commands for PB Cycle administrators.

phaseType (PhasesEnum)#

Filter by phase type.

For example: phaseType as IDEATION will get you a list of commands for every role in the dream phase of a PB Cycle.

Type#

CommandPermission#