Celebrate Excellence in Education: Nominate Outstanding Educators by April 15!
Wondering if anyone has a script they can share that would provide a list of all the admins in our Canvas instance along with what permissions that they posses? The Admin Provisioning Report provides a list of all the admins, but I was hoping to have a report that would show the admins and their permissions.
Thanks!
Hi jmorgan,
The Roles API can be used to pull a list of roles and their associated permissions.
Maybe cross reference your list of admins with that report to figure out who has access to what.
Roles - Canvas LMS REST API Documentation
{
// The label of the role.
"label": "Some Role",
// The label of the role. (Deprecated alias for 'label')
"role": "Some Role",
// The role type that is being used as a base for this role. For account-level roles, this is 'AccountMembership'. For course-level roles, it is an enrollment type.
"base_role_type": "AccountMembership",
// JSON representation of the account the role is in.
"account": {"id":1019,"name":"CGNU","parent_account_id":73,"root_account_id":1,"sis_account_id":"cgnu"},
// The state of the role: 'active', 'inactive', or 'built_in'
"workflow_state": "active",
// A dictionary of permissions keyed by name (see permissions input parameter in the 'Create a role' API).
"permissions": {"read_course_content":{"enabled":true,"locked":false,"readonly":false,"explicit":true,"prior_default":false},"read_course_list":{"enabled":true,"locked":true,"readonly":true,"explicit":false},"read_question_banks":{"enabled":false,"locked":true,"readonly":false,"explicit":true,"prior_default":false},"read_reports":{"enabled":true,"locked":false,"readonly":false,"explicit":false}}
}
Hope that helps!
carrie
Hi Deactivated user. Thank you for your response and information you provided. I can pass this along to our programmer and see if he can work his magic to create the report we are wanting.
To participate in the Instructure Community, you need to sign up or log in:
Sign In
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.