edubase_get_content_permission
Check a user's permission level on any EduBase content type, such as exams, courses, or videos. Returns permission status and whether an exact matching rule exists.
Instructions
Check if a user has a permission level on a content (class, course, event, exam, integration, organization, Quiz set, SCORM learning material, tag or video). Returns whether the user has the permission, and whether there is a permission rule with exactly these parameters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | type of the content (scorm: SCORM learning material, quiz: Quiz set) | |
| user | Yes | user identification string | |
| content | Yes | identification string of the content (e.g. the exam identification string if type is exam) | |
| permission | Yes | permission level (view / report / control / modify / grant / admin), finances is only available for events |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | ||
| status | Yes | ||
| content | Yes |