Package org.jenkinsci.plugins
Class GitLabAuthorizationStrategy
java.lang.Object
hudson.model.AbstractDescribableImpl<AuthorizationStrategy>
hudson.security.AuthorizationStrategy
org.jenkinsci.plugins.GitLabAuthorizationStrategy
- All Implemented Interfaces:
ExtensionPoint
,Describable<AuthorizationStrategy>
- Author:
- mocleiri
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.security.AuthorizationStrategy
AuthorizationStrategy.Unsecured
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.security.AuthorizationStrategy
LIST, UNSECURED
-
Constructor Summary
ConstructorDescriptionGitLabAuthorizationStrategy
(String adminUserNames, boolean authenticatedUserReadPermission, boolean useRepositoryPermissions, boolean authenticatedUserCreateJobPermission, boolean authenticatedUserStopBuildPermission, String organizationNames, String adminOrganizationNames, boolean allowGitlabWebHookPermission, boolean allowCcTrayPermission, boolean allowAnonymousReadPermission, boolean allowAnonymousJobStatusPermission) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare an object against this instance for equivalence.int
hashCode()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
Methods inherited from class hudson.security.AuthorizationStrategy
all, getACL, getACL, getACL, getACL, getACL, getACL, getACL
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
GitLabAuthorizationStrategy
@DataBoundConstructor public GitLabAuthorizationStrategy(String adminUserNames, boolean authenticatedUserReadPermission, boolean useRepositoryPermissions, boolean authenticatedUserCreateJobPermission, boolean authenticatedUserStopBuildPermission, String organizationNames, String adminOrganizationNames, boolean allowGitlabWebHookPermission, boolean allowCcTrayPermission, boolean allowAnonymousReadPermission, boolean allowAnonymousJobStatusPermission) - Parameters:
allowAnonymousReadPermission
-- Since:
- 0.19
-
-
Method Details
-
getRootACL
- Specified by:
getRootACL
in classAuthorizationStrategy
-
getACL
- Overrides:
getACL
in classAuthorizationStrategy
-
getGroups
- Specified by:
getGroups
in classAuthorizationStrategy
-
getOrganizationNames
- Returns:
- comma- and space-separated organization names
- See Also:
-
getAdminOrganizationNames
- Returns:
- comma- and space-separated admin organization names
- See Also:
-
getAdminUserNames
- Returns:
- comma- and space-separated admin usernames
- See Also:
-
isUseRepositoryPermissions
public boolean isUseRepositoryPermissions()- See Also:
-
isAuthenticatedUserCreateJobPermission
public boolean isAuthenticatedUserCreateJobPermission()- See Also:
-
isAuthenticatedUserStopBuildPermission
public boolean isAuthenticatedUserStopBuildPermission()- See Also:
-
isAuthenticatedUserReadPermission
public boolean isAuthenticatedUserReadPermission()- See Also:
-
isAllowGitlabWebHookPermission
public boolean isAllowGitlabWebHookPermission()- See Also:
-
isAllowCcTrayPermission
public boolean isAllowCcTrayPermission()- See Also:
-
isAllowAnonymousReadPermission
public boolean isAllowAnonymousReadPermission()- See Also:
-
isAllowAnonymousJobStatusPermission
public boolean isAllowAnonymousJobStatusPermission()- See Also:
-
equals
Compare an object against this instance for equivalence. -
hashCode
public int hashCode()
-