Class PermissionFinder
- java.lang.Object
-
- io.jenkins.plugins.folderauth.misc.PermissionFinder
-
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class PermissionFinder extends Object
Implements lookup forPermission
s.
-
-
Constructor Summary
Constructors Constructor Description PermissionFinder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static hudson.security.Permission
findPermission(String id)
Attempt to match a given permission to what is defined in the UI.static String
findPermissionId(String id)
Attempt to match a given permission to what is defined in the UI.
-
-
-
Method Detail
-
findPermission
@CheckForNull public static hudson.security.Permission findPermission(String id)
Attempt to match a given permission to what is defined in the UI.- Parameters:
id
- String of the form "Title/Permission" (Look in the UI) for a particular permission- Returns:
- a matched permission
-
-