Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/groupfolders.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bollu <cyr.debian@bollu.be>2021-05-03 14:29:45 +0300
committerCyrille Bollu <cyr.debian@bollu.be>2021-05-03 16:53:39 +0300
commit43bfc1db9584dc98efa0d1d5a30bdd1efe47fa33 (patch)
treea5676f92d0a60d814a35f9c2644842d99acb9c69 /README.md
parent6633e64d198c2b042dbee8072ba8f148ddcc2855 (diff)
Documents the /folders/{id}/manageACL route
Signed-off-by: Cyrille Bollu <cyr.debian@bollu.be>
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 84530bba..503b4631 100644
--- a/README.md
+++ b/README.md
@@ -103,6 +103,10 @@ The following REST API's are supported:
- `DELETE apps/groupfolders/folders/$folderId/groups/$groupId`: Remove access from a group to a folder
- `POST apps/groupfolders/folders/$folderId/acl`: Enable/Disable folder advanced permissions
- `acl` 1 for enable, 0 for disable.
+- `POST apps/groupfolders/folders/$folderId/manageACL`: Grants/Removes a group or user the ability to manage a groupfolders' advanced permissions
+ - `$id`: the id of the group/user to be granted/removed access to/from the folder
+ - `$type`: 'group' or 'user'
+ - `$manageACL`: true to grants ability to manage a groupfolders' advanced permissions, false to remove
- `POST apps/groupfolders/folders/$folderId/groups/$groupId`: Set the permissions a group has in a folder
- `permissions` The new permissions for the group as bitmask of [permissions constants](https://github.com/nextcloud/server/blob/b4f36d44c43aac0efdc6c70ff8e46473341a9bfe/lib/public/Constants.php#L65)
- `POST apps/groupfolders/folders/$folderId/quota`: Set the quota for a folder