Skip to content

Commit d8327ba

Browse files
committed
squash - Pluggable Rule Engine: Add Metadata Guard
1 parent 027f4c5 commit d8327ba

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/plugins/pluggable_rule_engine.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,15 @@ Each option is explained below.
332332
```
333333
Once you've decided on what your config will be, you'll need to use `imeta` to set it. For example:
334334
```bash
335-
$ imeta set -C /tempZone irods::metadata_guard '{"prefixes": ["irods::"], "admin_only": true}'
335+
$ imeta set -C /tempZone irods::metadata_guard '{
336+
"prefixes": ["irods::"],
337+
"admin_only": false,
338+
"editors": [
339+
{"type": "group", "name": "rodsadmin"},
340+
{"type": "user", "name": "otherrods"},
341+
{"type": "user", "name": "alice" }
342+
]
343+
}'
336344
```
337345
Anytime a request to modify metadata is detected by the server, the Rule Engine Plugin will read the JSON
338346
config and determine whether the user should be allowed to continue.

0 commit comments

Comments
 (0)