allow/block list of groups that can share
Перейти к файлу
Vincent Petry c6ad544328
Merge pull request #5 from nextcloud/bugfix/4/inhibit-warning
Inhibit warning about adding storage wrapper too early
2021-06-15 14:46:11 +02:00
.github/workflows Add github actions 2020-12-23 14:51:48 +01:00
appinfo v1.0.1 2020-12-23 15:05:01 +01:00
lib Inhibit warning about adding storage wrapper too early 2021-06-15 14:32:57 +02:00
.nextcloudignore Add .nextcloudignore 2020-12-23 15:04:31 +01:00
.php_cs.dist Add github actions 2020-12-23 14:51:48 +01:00
COPYING Initial commit 2020-10-31 19:56:07 +01:00
README.md fix detail 2021-03-05 10:31:52 +01:00
composer.json Add github actions 2020-12-23 14:51:48 +01:00
krankerl.toml Add krankerl 2020-12-23 14:43:47 +01:00

README.md

Share permissions

Provide a way to provide allow/block lists for sharing based on group membership

Usage

This app currently only works via OCC and has no graphical User Interface.

Add a group to the permission list

occ sharepermissions:add <groupId>

One example for a group with the groupID admin is:

occ sharepermissions:add admin

Change the permission mode (block or allow)

occ sharepermissions:mode block

To block all groups on this list from sharing. (Blacklist)

occ sharepermissions:mode allow

To limit sharing to all groups on this list. (Whitelist)

Remove a group from the permission list

occ sharepermissions:remove <groupId>

One example for a group with the groupID admin is:

occ sharepermissions:remove admin

Show the current mode and groups listed for share permissions

occ sharepermissions:show

This will return a list with all from sharing blocked/allowed groups.