|Nextcloud bot f687f99edb [tx-robot] updated from transifex||1 day ago|
|.tx||1 year ago|
|appinfo||1 week ago|
|img||5 months ago|
|js||2 months ago|
|l10n||1 day ago|
|lib||1 week ago|
|screenshots||1 month ago|
|src||2 weeks ago|
|templates||7 months ago|
|tests||1 week ago|
|.babelrc.js||1 month ago|
|.drone.yml||1 month ago|
|.gitignore||5 months ago|
|.php_cs.dist||2 years ago|
|.scrutinizer.yml||2 years ago|
|.travis.yml||1 month ago|
|CHANGELOG.md||2 weeks ago|
|Makefile||2 weeks ago|
|README.md||1 month ago|
|composer.json||5 months ago|
|composer.lock||5 months ago|
|package-lock.json||1 month ago|
|package.json||1 month ago|
|postcss.config.js||2 years ago|
|tsconfig.json||1 year ago|
|webpack.dev.config.js||4 months ago|
|webpack.prod.config.js||1 month ago|
Admin configured folders accessible by everyone in a group.
Folders can be configured from Group folders in the admin settings.
After a folder is created, the admin can give access to the folder to one or more groups, a quota can be assigned for the folder and advanced permissions can be activated and configured.
Permissions to the content of a group folder can be configured on a per-group basis.
The configuration options include the Write, Share and Delete permissions for each group.
Once configured, the folders will show up in the home folder for each user in the configured groups.
Advanced Permissions allows entitled users to configure permissions inside groupfolders on a per file and folder basis.
Permissions are configured by setting one or more of “Read”, “Write”, “Create”, “Delete” or “Share” permissions to “allow” or “deny”. Any permission not explicitly set will inherit the permissions from the parent folder. If multiple configured permissions for a single file or folder apply for a single user (such as when a user belongs to multiple groups), the “allow” permission will overwrite any “deny” permission.
Users or whole groups can be entitled to set advanced permissions for each group folder separately on the group folders admin page. For entitlements, only users from those groups are selectable which have to be configured selected in the Groups column.
Advanced permissions can also be configured trough the
occ groupfolders:permissions command.
To use the occ command you’ll first need to find the id of the groupfolder you’re trying to configure trough
Before configuring any permissions you’ll first have to enable advanced permissions for the folder using
occ groupfolders:permissions <folder_id> --enable.
Then you can list all configured permissions trough
occ groupfolders:permissions <folder_id>.
occ groupfolders:permissions 1 +------------+--------------+-------------+ | Path | User/Group | Permissions | +------------+--------------+-------------+ | folder | group: admin | +write | | folder/sub | user: admin | +share | | | user: test | -share | +------------+--------------+-------------+
Permissions for files and folders can be set trough
occ groupfolders:permissions <folder_id> --group <group> <path> -- <permissions> to
set permissions for a group or
occ groupfolders:permissions <folder_id> --user <user> <path> -- <permissions> to set permissions for a single user.
<permissions> can be one or more of the following options:
to set the set the respective permission to “deny” or “allow”.
You can delete a rule by passing
clear as the
To help with configuring nested permission rules, you can check the effective permissions a user has for a path using
occ groupfolders:permissions <folder_id> --user <user> <path> --test.
Group folders can be configured externally trough the OCS Api.
POST calls the required parameters are listed, for more information about how to use an OCS api see the Nextcloud documentation on the topic
The following OCS calls are supported.
GET apps/groupfolders/folders: Returns a list of call configured folders and their settings
POST apps/groupfolders/folders: Create a new group folder
mountpoint: The name for the new folder
GET apps/groupfolders/folders/$folderId: Return a specific configured folder and it’s settings
DELETE apps/groupfolders/folders/$folderId: Delete a group folder
POST apps/groupfolders/folders/$folderId/groups: Give a group access to a folder
group: The id of the group to be given access to the folder
DELETE apps/groupfolders/folders/$folderId/groups/$groupId: Remove access from a group to a folder
POST apps/groupfolders/folders/$folderId/groups/$groupId: Set the permissions a group has in a folder
permissionsThe new permissions for the group as bitmask of permissions constants
POST apps/groupfolders/folders/$folderId/quota: Set the quota for a folder
quota: The new quota for the folder in bytes, user
POST apps/groupfolders/folders/$folderId/mountpoint: Change the name of a folder
mountpoint: The new name for the folder