Using the latest version?
JFrog Container Registry Guide
application/vnd.org.jfrog.artifactory.security.User+json
{ - "name": "davids", + "email" : "davids@jfrog.com", + "password": "***" (write-only, never returned), - "admin": false (default), - "profileUpdatable": true (default), - "disableUIAccess" : true, - "internalPasswordDisabled": false (default), ! "lastLoggedIn": ISO8601 (yyyy-MM-dd'T'HH:mm:ss.SSSZ), ! "realm": "Internal", - "groups" : [ "deployers", "users" ] }
application/vnd.org.jfrog.artifactory.security.Group+json
{ - "name": "dev-leads", - "description" : "The development leads group", - "autoJoin" : false (default, must be false if adminPrivileges is true), - "adminPrivileges" : false (default), - "realm": "Realm name (e.g. ARTIFACTORY, CROWD)", - "realmAttributes": "Realm attributes for use by LDAP" - "userNames" : [ "user1", "user2", "user3" ] }
application/vnd.org.jfrog.artifactory.security.PermissionTarget+json
Permissions are set/returned according to the following conventions:m=admin; d=delete; w=deploy; n=annotate; r=read
name - limited to 64 characters
includePattern/excludePattern - limited to 1024 characters
{ - "name": "populateCaches", - "includesPattern": "**" (default), - "excludesPattern": "" (default), + "repositories": ["local-rep1", "local-rep2", "remote-rep1", "virtual-rep2"], - "principals": { "users" : { "bob": ["r","w","m"], "alice" : ["d","w","n", "r"] }, "groups" : { "dev-leads" : ["m","r","n"], "readers" : ["r"] } } }
application/vnd.org.jfrog.artifactory.security.PermissionTargetV2+json
Permissions are set/returned according to the following conventions:read, write, annotate, delete, manage
You can specify the name "ANY" in the repositories section in order to apply to all repositories, "ANY REMOTE" for all remote repositories and "ANY LOCAL" for all local repositories.
{ - "name": "java-developers", - "repo": { - "include-patterns": ["**"] (default), - "exclude-patterns": [""] (default), + "repositories": ["local-rep1", "local-rep2", "remote-rep1", "virtual-rep2"], - "actions": { "users" : { "bob": ["read","write","manage"], "alice" : ["write","annotate", "read"] }, "groups" : { "dev-leads" : ["manage","read","annotate"], "readers" : ["read"] } } } - "build": { - "include-patterns": [""] (default), - "exclude-patterns": [""] (default), + "repositories": ["artifactory-build-info"] (default, can't be changed), - "actions": { "users" : { "bob": ["read","manage"], "alice" : ["write"] }, "groups" : { "dev-leads" : ["manage","read","write","annotate","delete"], "readers" : ["read"] } } } }
Overview
Content Tools