arrow-left

All pages
gitbookPowered by GitBook
1 of 4

Loading...

Loading...

Loading...

Loading...

Artifact Roles

Trovi's permission model

Artifacts may have individual roles assigned to users which permit access control for those users. There are two types of role:

  • Administrator

  • Collaborator

hashtag
Administrator

Administrators have full control over the artifact, including assigning and unassigning roles. Administrators may upload, download, delete, and change content as they see fit.

circle-info

Artifact owners are automatically assigned the Administrator role. This role cannot be unassigned from owners. In order to accomplish this, the owner must first be changed to someone else via .

hashtag
Collaborator

Collaborators have permission to edit artifact metadata, upload new versions, and share private artifacts.

ListArtifactRoles

List roles available on an artifact

circle-info

Roles are also visible on the models returned by and .

hashtag
Required token scope

UpdateArtifact

artifacts:read

GetArtifact
ListArtifacts

UnassignArtifactRole

Unassign a role from a user on an artifact

hashtag
Required token scope

  • artifacts:write

AssignArtifactRole

Assign a new artifact role to a user

hashtag
Required token scope

  • artifacts:write

Trovi APItrovi.chameleoncloud.orgchevron-right
Write schema and examples
Trovi APItrovi.chameleoncloud.orgchevron-right
View schema and examples
Logo
Logo
Trovi APItrovi.chameleoncloud.orgchevron-right
View schema and examples
Logo