-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
-
matrix-auth-3.1.6
The new form of AuthorizationContainer.add() has a description that can be confusing.
It states:
Works like add(Permission, PermissionEntry) but takes both parameters from a single string of the form PERMISSION_ID:sid (legacy format, implicit 'EITHER' type) or type:PERMISSION_ID:sid (new since 3.0).
That might lead users to think that:
add(Jenkins.ADMINISTER, "username")
would translate directly as:
add("Jenkins.ADMINISTER:username")
when the correct form is:
add("hudson.model.Hudson.Administer:username")
- links to