TenantPermMap¶
- class TenantPermMap[source]¶
The mapping between tenant permission and value for a user.
- can_create_community_library_items: bool¶
Users with this permission can create new community library items.
- can_delete_community_library_items: bool¶
Users that have this permission within their tenant can delete any community library item belonging to that tenant. Users without this permission can still delete community library items they created themselves. You will always need permission to view an item to be able to delete it. The cross-tenant counterpart is the global permission can_manage_all_community_library_items.
- can_login_outside_lti: bool¶
Users with this permission can login directly to CodeGrade using username/password or email/OTP. When disabled, users must login through their institution’s LMS.
- can_login_outside_sso: bool¶
Users with this permission can login directly to CodeGrade using username/password or email/OTP. When disabled, users must login through their institution’s SSO.
- can_manage_tenant_roles: bool¶
Users with this permission can change the tenant permissions for other users on the site.
- can_search_users: bool¶
Users with this permission can search for users on the site, this means they can see all other users on the site.
- can_see_tenant_statistics: bool¶
Users with this permission can view the statistics of their own tenant. The cross-tenant counterpart is the global permission can_see_statistics_in_all_tenants.
- can_use_password: bool¶
Users with this permission can sign in to CodeGrade with a password and can change their own password. When disabled the user must authenticate through their institution’s LMS or SSO, or via a one time password (OTP) login link delivered by email.
- can_use_snippets: bool¶
Users with this permission can create and use their own personal snippets across the website. This permission only governs personal snippets; course snippets are governed by the separate can_view_course_snippets and can_manage_course_snippets course permissions.