PermissionService#

class PermissionService[source]#

Methods

get_all

Get all the global permissions or all course permissions for all courses for the currently logged in user.

get_all()[source]#

Get all the global permissions or all course permissions for all courses for the currently logged in user.

Returns:

A mapping between global permission names and a boolean indicating if the currently logged in user has this permissions is returned.

Parameters:

self (PermissionService[AuthenticatedClient]) –

Return type:

GlobalPermMap