Skip to content

Commit cdd00a5

Browse files
Kakulukianhuggingface-doc-bot
andauthored
docs: document assigning collections to resource groups (#2618)
Collections can now be assigned to a Resource Group (Team & Enterprise), following the same access-control and visibility rules as repositories. Co-authored-by: huggingface-doc-bot <doc-bot@huggingface.co>
1 parent 7d465c9 commit cdd00a5

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

docs/hub/collections.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ You can use a collection to [gate](https://huggingface.co/docs/hub/en/models-gat
6161

6262
This feature is reserved for [Team & Enterprise](https://huggingface.co/docs/hub/en/enterprise) subscribers: more information about Gating Group Collections can be found in [our dedicated doc](https://huggingface.co/docs/hub/en/enterprise-gating-group-collections).
6363

64+
### Assigning a collection to a Resource Group (Team & Enterprise)
65+
66+
Organization collections can be assigned to a [Resource Group](./security-resource-groups) to control which members can access them, the same way repositories are. You can pick a Resource Group when creating an organization collection, and members with the appropriate permissions can move a collection to a different Resource Group later from the collection's menu. Private collections that belong to a Resource Group are only visible to members of that group.
67+
68+
This feature is reserved for [Team & Enterprise](https://huggingface.co/docs/hub/en/enterprise) subscribers.
69+
6470
### Ordering your collections and their items
6571

6672
You can use the drag and drop handles in the collections list (on the left side of your collections page) to change the order of your collections (1). The first two collections will be directly visible on your profile/organization pages.

docs/hub/security-resource-groups.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Resource Groups allow organization administrators to group related repositories
1111

1212
A repository can belong to only one Resource Group.
1313

14+
Organization collections can also be assigned to a Resource Group, following the same rules as repositories: a collection can belong to only one Resource Group, and can be moved between groups by members with the appropriate permissions.
15+
1416
Organizations members need to be added to the Resource Group to access its repositories. An Organization Member can belong to several Resource Groups.
1517

1618
Members are assigned a role in each Resource Group that determines their permissions for the group's repositories. Four distinct roles exist for Resource Groups:
@@ -22,7 +24,7 @@ Members are assigned a role in each Resource Group that determines their permiss
2224

2325
In addition, Organization admins can manage all resource groups inside the organization. This includes moving repositories in and out of any Resource Group.
2426

25-
Resource Groups also affect the visibility of private repositories inside the organization. A private repository that is part of a Resource Group will only be visible to members of that Resource Group. Public repositories, on the other hand, are visible to anyone, inside and outside the organization.
27+
Resource Groups also affect the visibility of private repositories inside the organization. A private repository that is part of a Resource Group will only be visible to members of that Resource Group. Public repositories, on the other hand, are visible to anyone, inside and outside the organization. The same visibility rules apply to private collections that belong to a Resource Group.
2628

2729
## Getting started
2830

0 commit comments

Comments
 (0)