Per-repository privileges

There are three different repository settings defining user's access to artifacts andepository settings:

  • Repository Privileges: Defines the minimum level of privilege required for a user to perform specific actions. This setting is override by User/Self privileges when the user is the ownser of a package.
  • Self Privileges: Defines which actions users can always do with their own packages, no matter what are the privileges defined at other privilege levels (workspace, repository, team).
  • Access control: Defines the default level of privilege assigned to all workspace members (no collaborators) for this repository.

Before we dig deeper into each of them, here we can find the different levels of access that you can assign to users, services and members of teams in a repository:

PrivilegeDescription
AdminCan manage entitlements, privileges, and settings, in addition to those permissions granted by Write and Read access.
WriteCan upload packages and edit existing packages, in addition to those permissions granted by Read access.
ReadCan view and download packages.

Note

๐Ÿ“˜ Note that this privileges can be fine tuned per action (see Repository privileges).

Note

๐Ÿ“˜ Public repositories are open by definition, hence there's no level of privileges or belonging to the workspace required to have read access to its assets.

Repository privileges

With this options, you can define the minimun level of privileges granted required to perform certain actions within a repository:

ActionMinimum Privilege
Copy packagesAdmin, Write, Read
Move packagesAdmin, Write, Read
Delete packagesAdmin, Write
Resync packagesAdmin, Write
Scan packagesAdmin, Write, Read
Replace packagesAdmin, Write
View statistics packagesAdmin, Write, Read
Manage entitlementsAdmin, Write, Read
See/Use entitlementsAdmin, Write, Read

Self privileges

With this option, we can define which of the following actions can always be performed by users with their own packages, no matter which other permissions are stablised per workspace, repository, team, or user:

  • Scan
  • Copy
  • Move
  • Delete
  • Resync

Additionally, we can enable/disable user entitlements for a private repository. This setting allows users to use and manage their own entitlement token for the repository.

Access Control

Access Controls allows you to configure the default level of privilege assigned to all workspace members (no collaborators) for this repository:

  • Admin
  • Write
  • Read
  • None
Access Controls

Privileges for Specific Users, Services and Teams

Additionally, you can increase the level of repository privileges for specific:

  • Users
  • Services
  • Teams

Effective privilege

The effective privilege for an account (User or Service) is the greatest privilege granted to them via:

When granting a Team or User access to a repository, you can select from the following privilege levels.

External User Access

To allow external (non-Cloudsmith) users access to a private repository, please see our Entitlement Tokens documentation.