RoleAsJSONWithPerms

class RoleAsJSONWithPerms[source]

This role with the permissions the role has.

perms: GlobalPermMap

The permissions this role has

own: bool

Does the currently logged in user have this role.

count: int

The number of users with this role.

id: int

The id of the role

name: str

The name of the role