ExtendedCourseRole

class ExtendedCourseRole[source]

The JSON representation of a role including the permissions the role has.

perms: CoursePermMap

The permissions this role has

own: bool

Is the currently logged in user enrolled in the course as this role.

count: int

The number of users with this role.

course_id: int

The course this role is connected to

hidden: bool

Is this role hidden

id: int

The id of the role

name: str

The name of the role