Get Permission Targets Per User

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Get the permission targets list for repository and build permission targets for a specific user.

Since: 6.9.0

Notes: Requires Artifactory Pro.

- Permission targets are not supported for Virtual repositories.

Security: Requires an admin user or a user with Manage permission on permission target

Usage: GET /api/v2/security/permissions/users/<user_name>

Sample Output:

[{
   "name": "permission-target-name",
   "repo": {
      "include-patterns": ["**"],
      "exclude-patterns": [""],
      "repositories": ["local-rep1", "local-rep2", "remote-rep1"],
      "actions": ["read","write","manage"]
    }
    "build": {
      "include-patterns": [""],
      "exclude-patterns": [""],
      "repositories": ["artifactory-build-info"],
      "actions": ["read","manage"]
    }
},
{...}, 
{...}]