Class GitLabRequireOrganizationMembershipACL

java.lang.Object
hudson.security.ACL
org.jenkinsci.plugins.GitLabRequireOrganizationMembershipACL

public class GitLabRequireOrganizationMembershipACL extends ACL
Author:
Mike
  • Constructor Details

    • GitLabRequireOrganizationMembershipACL

      public GitLabRequireOrganizationMembershipACL(String adminUserNames, String adminOrganizationNames, String organizationNames, boolean authenticatedUserReadPermission, boolean useRepositoryPermissions, boolean authenticatedUserCreateJobPermission, boolean authenticatedUserStopBuildPermission, boolean allowGitlabWebHookPermission, boolean allowCcTrayPermission, boolean allowAnonymousReadPermission, boolean allowAnonymousJobStatusPermission)
    • GitLabRequireOrganizationMembershipACL

      public GitLabRequireOrganizationMembershipACL(List<String> adminUserNameList, List<String> adminOrganizationNameList, List<String> organizationNameList, boolean authenticatedUserReadPermission, boolean useRepositoryPermissions, boolean authenticatedUserCreateJobPermission, boolean authenticatedUserStopBuildPermission, boolean allowGitlabWebHookPermission, boolean allowCcTrayPermission, boolean allowAnonymousReadPermission, boolean allowAnonymousJobStatusPermission, AbstractProject project)
  • Method Details

    • hasPermission

      public boolean hasPermission(Authentication a, Permission permission)
      Overrides:
      hasPermission in class ACL
    • hasRepositoryPermission

      public boolean hasRepositoryPermission(GitLabAuthenticationToken authenticationToken, Permission permission)
    • cloneForProject

      public GitLabRequireOrganizationMembershipACL cloneForProject(AbstractProject project)
    • getOrganizationNameList

      public List<String> getOrganizationNameList()
    • getAdminUserNameList

      public List<String> getAdminUserNameList()
    • getAdminOrganizationNameList

      public List<String> getAdminOrganizationNameList()
    • isUseRepositoryPermissions

      public boolean isUseRepositoryPermissions()
    • isAuthenticatedUserCreateJobPermission

      public boolean isAuthenticatedUserCreateJobPermission()
    • isAuthenticatedUserStopBuildPermission

      public boolean isAuthenticatedUserStopBuildPermission()
    • isAuthenticatedUserReadPermission

      public boolean isAuthenticatedUserReadPermission()
    • isAllowGitlabWebHookPermission

      public boolean isAllowGitlabWebHookPermission()
    • isAllowCcTrayPermission

      public boolean isAllowCcTrayPermission()
    • isAllowAnonymousReadPermission

      public boolean isAllowAnonymousReadPermission()
      Returns:
      the allowAnonymousReadPermission
    • isAllowAnonymousJobStatusPermission

      public boolean isAllowAnonymousJobStatusPermission()