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).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"access_level": "<access_level>",
"user_or_group": "<user_or_group>",
"path": "<path>"
},
"name": "ds_modify_access"
}
}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. |