Hub documentation

Access control in organizations

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Access control in organizations

You can set up Single Sign-On (SSO) to be able to map access control rules from your organizationā€™s Identity Provider.

Advanced and more fine-grained access control can be achieved with Resource Groups.

The Resource Group feature is part of the Enterprise Hub.

Members of organizations can have four different roles: read, contributor, write, or admin:

  • read: read-only access to the Organizationā€™s repos and metadata/settings (eg, the Organizationā€™s profile, members list, API token, etc).

  • contributor: additional write rights to the subset of the Organizationā€™s repos that were created by the user. I.e., users can create repos and then modify only those repos. This is similar to the write role, but scoped to repos created by the user.

  • write: write rights to all the Organizationā€™s repos. Users can create, delete, or rename any repo in the Organization namespace. A user can also edit and delete files from the browser editor and push content with git.

  • admin: in addition to write rights on repos, admin members can update the Organizationā€™s profile, refresh the Organizationā€™s API token, and manage Organization members.

As an organization admin, go to the Members section of the org settings to manage roles for users.

Viewing membersā€™ email address

This feature is part of the Enterprise Hub.

You may be able to view the email addresses of members of your organization. The visibility of the email addresses depends on the organizationā€™s SSO configuration, or verified organization status.

  • If you verify a domain for your organization, you can view membersā€™ email addresses for the verified domain.
  • If SSO is configured for your organization, you can view the email address for each of your organization members by setting Matching email domains in the SSO configuration
< > Update on GitHub