You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed the update_role method similarly to the way create_new_role was fixed. Permissions are now passed in as a dict that gets flattened into the payload.
:param base_role_type: (optional) Specifies the role type that will be used as a base for the permissions granted to this role. Defaults to 'AccountMembership' if absent
68
68
:type base_role_type: string or None
69
69
:param permissions: (optional) Specifies the permissions that will be granted to this role. See Canvas API docs for details on the structure.
:param permissions_X_explicit: (optional) no description
161
-
:type permissions_X_explicit: boolean or None
162
-
:param permissions_X_enabled: (optional) These arguments are described in the documentation for the {api:RoleOverridesController#add_role add_role method}.
163
-
:type permissions_X_enabled: boolean or None
160
+
:param label: The label for the role. Can only change the label of a custom role that belongs directly to the account.
161
+
:type label: string
162
+
:param permissions: (optional) Specifies the permissions that will be granted to this role. See Canvas API docs for details on the structure.
0 commit comments