应用程序/ vnd.org.jfrog.artifactory.security.User + json
{- "name": "davids", + "email": "davids@www.si-fil.com", + "password": "***"(只写,不返回),- "admin": false(默认),- "profileUpdatable": true(默认),- "disableUIAccess": true, - "internalPasswordDisabled": false(默认),!"lastLoggedIn": ISO8601 (yyyy-MM-dd'T'HH:mm:ss.SSSZ), !"realm": "领域名称(例如internal, saml, oauth, ldap, crowd, scim)", - "groups": ["deployer ", "users"], - "watchManager": false(默认),- "policyManager": false(默认)}
应用程序/ vnd.org.jfrog.artifactory.security.Group + json
{- "name": "dev-leads", - "description": " development leads group", - "autoJoin": false(默认,如果adminPrivileges为true则必须为false), - "adminPrivileges": false(默认),- "realm": "realm name(例如internal, saml, ldap, crowd, scim)", - " realmatattributes ": "realm attributes供ldap使用" - "userNames": ["user1", "user2", "user3"] //从6.13版本起仅适用于更新组请求- "watchManager": false(默认),- "policyManager":false(默认),- "reportsManager": false(默认)- "externalId": "123"}
应用程序/ vnd.org.jfrog.artifactory.security.PermissionTarget + json
权限的设置/返回遵循以下约定:m =管理;d =删除;w =部署;n =注释;r =阅读;mxm = managedXrayMeta;x =分发
名称-限制为64个字符
includePattern/excludePattern -限制为1024个字符
{- "name": "populateCaches", - " inclespattern ": "**"(默认),- "excludesPattern": ""(默认),+ "repositories": ["local-rep1", "local-rep2", "remote-rep1"], //虚拟存储库不支持权限目标。-“校长”:{"用户":{“bob”:[“r”、“w”、“m”),“爱丽丝”:[“d”、“w”、“n”,“r”]},“团体”:{“dev-leads”:[“m”、“r”、“n”),“读者”:[r]}}}
应用程序/vnd.org.jfrog.artifactory.security.PermissionTargetV2 + json
权限的设置/返回遵循以下约定:读取,写入,注释,删除,管理,managedXrayMeta,分发
您可以在存储库部分中指定名称“ANY”,以便应用于所有存储库,“ANY REMOTE”用于所有远程存储库,“ANY LOCAL”用于所有本地存储库。
{-“名称”:“java开发人员”,“回购”:{——“include-patterns ": ["**"] ( 默认),“exclude-patterns”:“(默认),+“存储库”:[“local-rep1”、“local-rep2”,“remote-rep1”),-“行动”:{"用户":{“bob”:[“读”、“写”、“管理”、“爱丽丝”:[“写”、“注释”、“读”)},“团体”:{“dev-leads”:[“管理”、“读”、“注释”),“读者”:["阅读 "] } } } - " 建立“:{-“include-patterns”:["](默认),——“exclude-patterns”:["](默认),+“存储库”:[" artifactory-build-info "](默认情况下,不能被改变),-“行动”:{"用户":{“bob”:“读”,“管理”,“爱丽丝”:[“写”]},“团体”:{“dev-leads”:[“管理”、“读”、“写”、“注释”,“删除”,“读者”:["阅读 "] } } } - " releaseBundle”:{——“include-patterns ": ["**"], - " exclude-patterns ": [], + " 存储库”:“release-bundles”,——“行动”:{"用户":{“user_name”:[“读”、“写”等. .]},“团体”:{“group_name”:[“读”、“写”等。}}}