ds_modify_access
Set access permissions for a user or group on a file or directory, optionally applying to all contents recursively.
Instructions
Modify data access of a user or group to a file (data-object) or directory (collection).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The path to the file (data-object) or directory (collection) to modify access. | |
| recurse | No | If set, apply the given access to all entries within the given directory (collection) recursively. | |
| access_level | Yes | The access level to set to the user. It can be 'own', 'delete_object', 'modify_object', 'create_object', 'delete_metadata', 'modify_metadata', 'create_metadata', 'read_object', 'read_metadata', or 'null'. For iRODS version prior to 4.3.0, only 'own', 'write', 'read', and 'null' are allowed. | |
| user_or_group | Yes | The user or group to set access. You can specify a user by 'username#zone' or a group by 'groupname#zone' to set zone. if zone is not specified, the client's zone will be used. |