edubase_post_organizations_members
Assign users to organizations and update existing memberships, including optional job roles, departments, permissions, and notifications.
Instructions
Assign user(s) to organization(s). Updates memberships if already member of an organization.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | No | optional name of job role (or its external identifier if no job role has this name), empty string removes the job role, the job role is kept when not specified or unknown in an organization, the competency assignments of the members with another job role are updated, the competencies they only had through their previous job role are lost | |
| users | Yes | comma-separated list of user identification strings | |
| notify | No | notify users (default: false) | |
| department | No | optional name of department (or its external identifier if no department has this name), the competency assignments of the members moved to another department are updated, the competencies they only had through their previous department are lost | |
| organizations | Yes | comma-separated list of organization identification strings | |
| permission_custom | No | customize the permission levels of the members inside the department (only used together with department, the permission_ fields not specified default to the ones of the department), members with custom permission levels keep them when the permission levels of the department are changed, set to false to make the members follow the permission levels of the department again, when not specified, custom permission levels are kept for the members staying in the same department and removed when moved to another department | |
| permission_content | No | optional permission level to contents in organization (none / view / report / control / modify / grant / admin) (default: none) | |
| permission_members | No | optional permission level to members in organization (none / department / organization) (default: none) | |
| restriction_library | No | restrict the members from managing the library of the organization (documents, versions and types), even with a sufficient permission level (only available if the library is enabled in the organization, ignored otherwise), left unchanged when not specified (default for new members: false) | |
| permission_organization | No | optional permission level to organization (member / teacher / reporter / supervisor / admin) (default: member) | |
| restriction_competencies | No | restrict the members from managing the competencies of the organization and its members (competencies, requirements, assignments, completions, expiry dates and attachments), even with a sufficient permission level (only available if the library is enabled in the organization, ignored otherwise), left unchanged when not specified (default for new members: false) |