UserPermission Object
Represents user's permissions.
type UserPermission {
code: PermissionEnum!
name: String!
sourcePermissionGroups(userId: ID!): [Group!]
}
Fields
UserPermission.code
● PermissionEnum!
non-null enum users
Internal code for permission.
UserPermission.name
● String!
non-null scalar miscellaneous
Describe action(s) allowed to do by permission.
UserPermission.sourcePermissionGroups
● [Group!]
list object users
List of user permission groups which contains this permission.
UserPermission.sourcePermissionGroups.userId
● ID!
non-null scalar miscellaneous
ID of user whose groups should be returned.
Member Of
User
object