edubase_post_organization_department
Create a department within an organization to structure members hierarchically, enabling visibility of sub-department members while keeping permissions non-inherited.
Instructions
Create a department in an organization. Members of a department can see the members of the departments below it, but permissions are not inherited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | optional external unique department identifier | |
| title | Yes | name of the department, must be unique within the organization | |
| parent | No | optional name (or external identifier) of the parent department | |
| leaders | No | optional comma-separated list of user identification strings of the leaders (must be members of the organization, maximum 5) | |
| organization | Yes | organization identification string | |
| permission_content | No | optional permission level to contents in organization given to the members (none / view / report / control / modify / grant / admin) (default: none) | |
| permission_members | No | optional permission level to members in organization given to the members (none / department / organization) (default: none) | |
| permission_organization | No | optional permission level to organization given to the members (member / teacher / reporter / supervisor / admin) (default: member) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| department | Yes | ||
| organization | Yes |