Team folders

组或团队中每个人共享的管理员配置文件夹。「📁👩‍👩‍👧‍👦 Admin-configured folders shared by everyone in a group or team.」

  • 所有者: nextcloud/groupfolders
  • 平台: Linux,Mac,Windows
  • 许可证:
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Group folders

Admin configured folders accessible by everyone in a group.

Configure folders

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.

edit

Permissions to the content of a group folder can be configured on a per-group basis.

permissions

The configuration options include the Write, Share and Delete permissions for each group.

Folders

Once configured, the folders will show up in the home folder for each user in the configured groups.

folders

Advanced Permissions

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.

advanced permissions

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 permission entitlement

Configuring advanced permissions trough occ

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 occ groupfolders:list.

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: -read, +read, -write, +write, -create, +create, -delete, +delete, -share or +share
to set the set the respective permission to "deny" or "allow".
You can delete a rule by passing clear as the <permissions> field.

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.

Notes

  • Currently using encryption on group folders is not supported. All files stored within a group folder will be stored unencrypted.
  • In Client applications, group folders will appear as external storage and may need to be explicitly addressed for download.

API

Group folders can be configured externally trough the OCS Api.

For all 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
  • POST apps/groupfolders/folders/$folderId/quota: Set the quota for a folder
    • quota: The new quota for the folder in bytes, user -3 for unlimited
  • POST apps/groupfolders/folders/$folderId/mountpoint: Change the name of a folder
    • mountpoint: The new name for the folder

主要指标

概览
名称与所有者nextcloud/groupfolders
主编程语言PHP
编程语言PHP (语言数: 6)
平台
许可证
所有者活动
创建于2017-04-06 13:57:57
推送于2025-04-27 05:24:03
最后一次提交2025-04-27 07:17:06
发布数179
最新版本名称v19.0.4 (发布于 2025-03-18 14:39:23)
第一版名称v1.0.0 (发布于 2017-04-26 19:46:24)
用户参与
星数297
关注者数15
派生数88
提交数3.6k
已启用问题?
问题数1041
打开的问题数157
拉请求数1910
打开的拉请求数25
关闭的拉请求数768
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?