OBJECT

PrivilegesQuery

Node for privileges queries

link GraphQL Schema definition

  • type PrivilegesQuery {
  • # Has access to flights without assigned real aircraft
  • hasNotAssignedAircraftPrivilege: Boolean!
  • operatorIdList: [String!]!
  • # Has access to see draft on crew calendar
  • canSeeDraftOnCrewCalendar: Boolean!
  • # Requires access to resource PRIVILEGES_HISTORY_SEE
  • history: PrivilegesHistoryQuery!
  • # Requires access to resource GRAPHQL_PRIVILEGES_SEE
  • listPlaces: [RolePlace!]
  • # Requires access to resource GRAPHQL_PRIVILEGES_SEE.
  • # Requires access to resource GRAPHQL_ACFT.
  • # Requires access to given operator
  • #
  • # Arguments
  • # targetOprNid: [Not documented]
  • listAllAircraft(targetOprNid: OperatorNid!): [Aircraft!]
  • # Requires access to resource GRAPHQL_PRIVILEGES_SEE
  • #
  • # Arguments
  • # roleNid: [Not documented]
  • describeRole(roleNid: RoleNid!): Role!
  • # Requires access to resource GRAPHQL_PRIVILEGES_SEE
  • #
  • # Arguments
  • # name: [Not documented]
  • # roleNid: [Not documented]
  • validateRoleName(name: NotEmptyString!, roleNid: RoleNid): Boolean!
  • }