Why don’t I have admin permissions in Xray when logging in with an Artifactory admin user?

Adi Vizgan
2019-09-26 09:23

Subject

This article will explain why you do not automatically get admin permissions to Xray when logging in with an Artifactory admin user.

Description

When configuring Artifactory as an authentication provider for Xray, you are able to log in to Xray with users that are defined in Artifactory – either through an SSO or internal Artifactory users.
Since the permissions model is different between Artifactory and Xray, users that are configured as admin users in Artifactory will not automatically get admin permissions in Xray.

Resolution

In order to add admin permissions to a user in Xray, or give it permissions to specific things in Xray, you will need to first log in to Xray with this user in order to create it in Xray.
Then, log in to Xray with an Xray admin user and give specific permissions to the user. Xray comes with a predefined "admin" user which you can use to edit other users permissions.
After editing the permissions for the user inside Xray you will be able to login to Xray with this user and use it as an admin/privileged user.