Skip to content

Course, Institution and System Roles Restriction

Shane Argo edited this page Jan 10, 2018 · 2 revisions

Restricts injection to users in roles with which the id matches the specified regular expression.

The following example would restrict the injection to users whos role is System Administrator or User Administrator:

Example

The Gradebook Column Protector package prevents the name of a gradebook column being changed, but uses a restriction to prevent the injection when the user is a system administrator, allowing them to edit.