Uses of Interface
jetbrains.buildServer.serverSide.auth.AuthorityHolder
-
-
Uses of AuthorityHolder in jetbrains.buildServer.controllers
Methods in jetbrains.buildServer.controllers with parameters of type AuthorityHolder Modifier and Type Method Description protected booleanFileBrowseController. checkPermissions(AuthorityHolder authorityHolder)voidRequestPermissionsChecker. checkPermissions(AuthorityHolder authorityHolder, javax.servlet.http.HttpServletRequest request)Performs actual checking of permissions.default voidRequestPermissionsCheckerEx. checkPermissions(AuthorityHolder authorityHolder, javax.servlet.http.HttpServletRequest request)static voidFileSecurityUtil. checkSecurityViolation(String fileName, AuthorityHolder currentAuthHolder)Checks thatfileNameis a correct relative file name.voidFileBrowseController.FileActionCallback. onFileAdded(File file, AuthorityHolder authorityHolder)voidFileBrowseController.FileActionCallback. onFileDeleted(File file, AuthorityHolder authorityHolder)voidFileBrowseController.FileActionCallback. onFileEdited(File file, AuthorityHolder authorityHolder) -
Uses of AuthorityHolder in jetbrains.buildServer.controllers.admin
Methods in jetbrains.buildServer.controllers.admin that return AuthorityHolder Modifier and Type Method Description AuthorityHolderAdminPermissionsUtil. getAuthorityHolder()Methods in jetbrains.buildServer.controllers.admin with parameters of type AuthorityHolder Modifier and Type Method Description List<ProjectHierarchyTreeBean>AdminOverviewBean. getProjectBeans(SProject rootProject, int depth, AuthorityHolder authorityHolder)List<ProjectHierarchyTreeBean>AdminOverviewBean. getProjectBeans(SProject rootProject, AuthorityHolder authorityHolder) -
Uses of AuthorityHolder in jetbrains.buildServer.controllers.admin.groups
Methods in jetbrains.buildServer.controllers.admin.groups with parameters of type AuthorityHolder Modifier and Type Method Description static TreePrinterGroupHierarchyUtil. getEditableGroupTree(AuthorityHolder currentAuthority, UserGroupManager groupManager)static booleanGroupHierarchyUtil. isCanAddToAnyGroup(AuthorityHolder currentAuthority, UserGroupManager groupManager)static booleanGroupHierarchyUtil. isGroupCanBeMoved(UserGroupEx group, AuthorityHolder currentAuthority, UserGroupManager groupManager) -
Uses of AuthorityHolder in jetbrains.buildServer.controllers.agent
Methods in jetbrains.buildServer.controllers.agent with parameters of type AuthorityHolder Modifier and Type Method Description protected voidAgentLogsDownloadController. checkPermissions(AuthorityHolder authorityHolder, javax.servlet.http.HttpServletRequest request)protected voidAgentLogsViewsController. checkPermissions(AuthorityHolder authorityHolder, javax.servlet.http.HttpServletRequest request)protected abstract voidBaseAgentLogsController. checkPermissions(AuthorityHolder authorityHolder, javax.servlet.http.HttpServletRequest request) -
Uses of AuthorityHolder in jetbrains.buildServer.controllers.interceptors.auth.presigned.impl
Methods in jetbrains.buildServer.controllers.interceptors.auth.presigned.impl that return AuthorityHolder Modifier and Type Method Description AuthorityHolderPresignedTokenPrincipal. getParentAuthority() -
Uses of AuthorityHolder in jetbrains.buildServer.controllers.login
Classes in jetbrains.buildServer.controllers.login that implement AuthorityHolder Modifier and Type Class Description classInMemoryUserOriginal GuestUser or RootUser throws exception on attempt to change its profile (because there is no such thing as profile for guest user).Methods in jetbrains.buildServer.controllers.login that return AuthorityHolder Modifier and Type Method Description AuthorityHolderInMemoryUser. getOriginalAuthorityHolder()Methods in jetbrains.buildServer.controllers.login with parameters of type AuthorityHolder Modifier and Type Method Description booleanInMemoryUser. hasAllPermissionsOf(AuthorityHolder authorityHolder) -
Uses of AuthorityHolder in jetbrains.buildServer.controllers.profile
Methods in jetbrains.buildServer.controllers.profile with parameters of type AuthorityHolder Modifier and Type Method Description static List<VcsUsername>VcsUsername. getVcsUsernames(VcsManager vcsManager, ProjectManager projectManager, SUser user, boolean isEmpty, AuthorityHolder editor) -
Uses of AuthorityHolder in jetbrains.buildServer.groups
Subinterfaces of AuthorityHolder in jetbrains.buildServer.groups Modifier and Type Interface Description interfaceSUserGroupRepresents TeamCity-server user group interface.interfaceUserGroupEx -
Uses of AuthorityHolder in jetbrains.buildServer.groups.impl
Classes in jetbrains.buildServer.groups.impl that implement AuthorityHolder Modifier and Type Class Description classAllUsersGroupclassSecuredUserGroupclassUserGroupImplUser group implementation.Methods in jetbrains.buildServer.groups.impl with parameters of type AuthorityHolder Modifier and Type Method Description booleanSecuredUserGroup. hasAllPermissionsOf(AuthorityHolder authorityHolder)booleanUserGroupImpl. hasAllPermissionsOf(AuthorityHolder authorityHolder) -
Uses of AuthorityHolder in jetbrains.buildServer.notification.impl
Classes in jetbrains.buildServer.notification.impl with type parameters of type AuthorityHolder Modifier and Type Class Description classAbstractNotificationRulesManager<T,H extends AuthorityHolder>Code refactored from Pavel Sher's NotificationRulesManagerImpl class. -
Uses of AuthorityHolder in jetbrains.buildServer.serverSide
Methods in jetbrains.buildServer.serverSide that return AuthorityHolder Modifier and Type Method Description AuthorityHolderSecurityContextEx. getOriginalAuthority()Normally permissions that are not available on the current node are filtered out from all authority holders.AuthorityHolderSecurityContextEx. restrictByServerPermissions(AuthorityHolder authorityHolder)Filters out permissions that are not available on the server - due to current server responsibilitiesMethods in jetbrains.buildServer.serverSide with parameters of type AuthorityHolder Modifier and Type Method Description StringSecurityContextEx. describeAuthorityHolder(AuthorityHolder authorityHolder)AuthorityHolderSecurityContextEx. restrictByServerPermissions(AuthorityHolder authorityHolder)Filters out permissions that are not available on the server - due to current server responsibilitiesvoidSecurityContextEx. runAs(AuthorityHolder authority, SecurityContextEx.RunAsAction action)<T> TSecurityContextEx. runAs(AuthorityHolder authority, SecurityContextEx.RunAsActionWithResult<T> action)voidSecurityContextEx. runAsUnchecked(AuthorityHolder authority, SecurityContextEx.RunAsAction action)Runs specified Runnable with {@param authority} privileges (in all permissions mode) Occured exceptions will be rethrown asRuntimeExceptionMethod can be used instead ofSecurityContextEx.runAs(jetbrains.buildServer.serverSide.auth.AuthorityHolder, jetbrains.buildServer.serverSide.SecurityContextEx.RunAsAction)in case {@param action} does not throw checked exception or no specific exception handling is required.<T> TSecurityContextEx. runAsUnchecked(AuthorityHolder authority, SecurityContextEx.RunAsActionWithResult<T> action)voidSecurityContextEx. setAuthorityHolder(AuthorityHolder authority)Sets AuthorityHolder in the context -
Uses of AuthorityHolder in jetbrains.buildServer.serverSide.auth
Subinterfaces of AuthorityHolder in jetbrains.buildServer.serverSide.auth Modifier and Type Interface Description interfaceBuildAuthorityHolderClasses in jetbrains.buildServer.serverSide.auth that implement AuthorityHolder Modifier and Type Class Description classBuildAuthorityHolderImplclassOrganizationProjectAwareBuildAuthorityHolderclassPermissionsBasedAuthorityHolderMethods in jetbrains.buildServer.serverSide.auth that return AuthorityHolder Modifier and Type Method Description AuthorityHolderAccessDeniedException. getAuthorityHolder()AuthorityHolderSecurityContext. getAuthorityHolder()Retrieves authority holder from current context.AuthorityHolderAuthorityHolderRestrictor. restrict(AuthorityHolder authorityHolder)AuthorityHolderServerLoginModel. updateSecurityContext(AuthorityHolder authorityHolder)Checks whether the specified user can still be logged in, i.e.: - the user exists - the user still has a license If all checks are successful, then the security context is updated with the specified userMethods in jetbrains.buildServer.serverSide.auth with parameters of type AuthorityHolder Modifier and Type Method Description static booleanAuthUtil. adminSpaceAvailable(AuthorityHolder authorityHolder)Returns true if authority holder has at least one permission allowing him to access administration spacestatic booleanAuthUtil. canAdministerAgent(AuthorityHolder authorityHolder, SBuildAgent agent)Returns true if authority holder can administer the specified agentstatic booleanAuthUtil. canAdministerAgents(AuthorityHolder authorityHolder)Returns true if authority holder can administer at least one agentstatic booleanAuthUtil. canViewAgentDetails(AuthorityHolder authorityHolder, SBuildAgent agent)static booleanAuthUtil. canViewAnyRoleScope(AuthorityHolder authorityHolder, Collection<RoleScope> roleScopes)static booleanAuthUtil. canViewUserProfile(AuthorityHolder authorityHolder, SUser user)Checks whether authority holder can access user profile data (email and properties).static booleanPermissionsUtil. containsAllPermissionsOfAuthHolder(Permissions globalPermissions, Map<String,Permissions> projectPermissions, AuthorityHolder anotherHolder)protected abstract UnmodifiablePermissionsHolderAuthorityHolderRestrictor. getPermissionsRestrictor(AuthorityHolder unrestrictedAuthorityHolder)static booleanAuthUtil. groupManagementAvailable(AuthorityHolder authorityHolder)Returns true if group management interface is availablebooleanAuthorityHolder. hasAllPermissionsOf(AuthorityHolder authorityHolder)Returns true if this authority holder has all permissions of another authority holder.booleanPermissionsBasedAuthorityHolder. hasAllPermissionsOf(AuthorityHolder authorityHolder)static booleanAuthUtil. hasFileContentAccess(AuthorityHolder authorityHolder, SVcsModification modification)Returns true if authority holder has view file content access to any build configuration related to specified modification, or any build configuration related to any duplicate of specified modificationstatic booleanAuthUtil. hasGlobalOrPoolProjectsPermission(AuthorityHolder authorityHolder, AgentPool agentPool, Permission globalPermission, Permission projectPermission)returns true if specified authority holder has specific permission globally or for supplied all projects.static booleanAuthUtil. hasGlobalPermission(AuthorityHolder authorityHolder, Permission permission)Returns true if specified authority holder has specified global permissionstatic booleanAuthUtil. hasGlobalPermissionToViewAllAgentPools(AuthorityHolder authHolder)Returns true if the current authority holder has some global permissions which allow to view all agent poolsstatic booleanAuthUtil. hasPermissionToAuthorizeAgentsInPool(AuthorityHolder authorityHolder, AgentPool agentPool)Checks whether specified authority holder can authorize or unauthorize agents in the given pool.static booleanAuthUtil. hasPermissionToEditModification(AuthorityHolder authHolder, SVcsModification modification)static booleanAuthUtil. hasPermissionToEditVcsRoot(AuthorityHolder authHolder, SVcsRoot vcsRoot)Checks whether specified authority holder can edit VCS rootstatic booleanAuthUtil. hasPermissionToEnableAgentsInPool(AuthorityHolder authorityHolder, AgentPool agentPool)Checks whether specified authority holder can enable or disable agents in the given pool.static booleanAuthUtil. hasPermissionToManageAgentPoolsWithProject(AuthorityHolder authHolder, String projectId)Checks whether specified authority holder can manage agent pool-project association for the specified project.static booleanAuthUtil. hasPermissionToManageAgentPoolsWithProjects(AuthorityHolder authHolder, Collection<String> projects)Checks whether specified authority holder can manage agent pools the given projects are associated with.static booleanAuthUtil. hasPermissionToManageAllAgentPoolProjectAssociations(AuthorityHolder authHolder)Checks whether specified authority holder can manage agent pool-project associations for all pools.static booleanAuthUtil. hasPermissionToManageAllProjects(AuthorityHolder authHolder)Checks whether specified authority holder can manage all projects.static booleanAuthUtil. hasPermissionToManageProject(AuthorityHolder authHolder, String projectInternalId)Checks whether specified authority holder can manage the given project.static booleanAuthUtil. hasPermissionToManageProjects(AuthorityHolder authHolder, Collection<String> projects)Checks whether specified authority holder can manage all the given projects.static booleanAuthUtil. hasPermissionToRemoveBuild(AuthorityHolder authorityHolder, BuildPromotion promotion)Returns true if authority holder has permissions to remove build associated with specified buildPromotionstatic booleanAuthUtil. hasPermissionToStopBuild(AuthorityHolder authorityHolder, BuildPromotion promotion)Returns true if authority holder has permissions to stop build associated with the specified promotionstatic booleanAuthUtil. hasPermissionToViewAgentDetailsAccessibleForProjects(AuthorityHolder authorityHolder, Collection<String> projectIds)Checks whether specified authority holder can view details of agents from pools the given projects are associated with.static booleanAuthUtil. hasPermissionToViewAgentDetailsInPool(AuthorityHolder authorityHolder, AgentPool agentPool)Checks whether specified authority holder can view details of agent placed in the given pool.static booleanAuthUtil. hasPermissionToViewAgentPool(AuthorityHolder authHolder, AgentPool agentPool)Checks whether specified authority holder can view agents placed in the given pool.static booleanAuthUtil. hasProjectPermission(AuthorityHolder authorityHolder, String projectId, Permission permission)Returns true if specified authority holder has specified permission in specified projectstatic booleanAuthUtil. hasReadAccessTo(AuthorityHolder authorityHolder, String projectId)Returns true if authority holder has read access to a project with specified idstatic booleanAuthUtil. hasReadAccessTo(AuthorityHolder authorityHolder, Build build)Returns true if authority holder has read access to build projectstatic booleanAuthUtil. hasReadAccessTo(AuthorityHolder authorityHolder, BuildTypeDescriptor buildType)Returns true if authority holder has read access to build configuration projectstatic booleanAuthUtil. hasReadAccessTo(AuthorityHolder authorityHolder, SVcsModification modification)Returns true if authority holder has read access to the specified VCS modification (has read access to at least one build configuration where this modification appeared)static booleanAuthUtil. hasReadAccessTo(AuthorityHolder authorityHolder, SVcsRoot vcsRoot)Returns true if authority holder has read access to the specified VCS rootstatic booleanAuthUtil. hasReadAccessTo(AuthorityHolder authorityHolder, VcsRootInstance vcsRoot)Returns true if authority holder has read access to the specified VCS rootstatic booleanAuthUtil. hasReadAccessToAnyOfProjects(AuthorityHolder authorityHolder, Collection<String> projectIds)Returns true if authority holder has read access to a project with specified idstatic booleanAuthUtil. isSystemAdmin(AuthorityHolder authHolder)Deprecated.Use permissions check (egAuthUtil.hasGlobalPermission(AuthorityHolder, Permission)toPermission.CHANGE_SERVER_SETTINGS)AuthorityHolderAuthorityHolderRestrictor. restrict(AuthorityHolder authorityHolder)AuthorityHolderServerLoginModel. updateSecurityContext(AuthorityHolder authorityHolder)Checks whether the specified user can still be logged in, i.e.: - the user exists - the user still has a license If all checks are successful, then the security context is updated with the specified userstatic booleanAuthUtil. userManagementAvailable(AuthorityHolder authorityHolder)Returns true if user & group management interfaces are availableConstructors in jetbrains.buildServer.serverSide.auth with parameters of type AuthorityHolder Constructor Description AccessDeniedException(AuthorityHolder authorityHolder, String message)PermissionsHolder(AuthorityHolder authorityHolder)Deprecated. -
Uses of AuthorityHolder in jetbrains.buildServer.serverSide.auth.presigned
Subinterfaces of AuthorityHolder in jetbrains.buildServer.serverSide.auth.presigned Modifier and Type Interface Description interfacePresignedTokenAuthorityHolderMethods in jetbrains.buildServer.serverSide.auth.presigned with parameters of type AuthorityHolder Modifier and Type Method Description StringPresignedTokenStorage. createToken(SBuild build, AuthorityHolder parentAuthorityHolder) -
Uses of AuthorityHolder in jetbrains.buildServer.serverSide.auth.presigned.impl
Classes in jetbrains.buildServer.serverSide.auth.presigned.impl that implement AuthorityHolder Modifier and Type Class Description classPresignedTokenAuthorityHolderImplMethods in jetbrains.buildServer.serverSide.auth.presigned.impl that return AuthorityHolder Modifier and Type Method Description AuthorityHolderPresignedToken. getParentAuthority()Methods in jetbrains.buildServer.serverSide.auth.presigned.impl with parameters of type AuthorityHolder Modifier and Type Method Description StringInMemoryPresignedTokenStorage. createToken(SBuild build, AuthorityHolder parentAuthorityHolder)StringSecurePresignedTokenStorage. createToken(SBuild build, AuthorityHolder parentAuthorityHolder)Constructors in jetbrains.buildServer.serverSide.auth.presigned.impl with parameters of type AuthorityHolder Constructor Description PresignedToken(SBuild build, AuthorityHolder parentAuthority, UptodateValue<Boolean> refreshOnAccess, UptodateValue<Long> ttl, TimeService timeService)PresignedTokenAuthorityHolderImpl(long buildId, Set<String> projectIds, AuthorityHolder parentAuthority) -
Uses of AuthorityHolder in jetbrains.buildServer.serverSide.impl
Classes in jetbrains.buildServer.serverSide.impl that implement AuthorityHolder Modifier and Type Class Description classMockAuthorityHolderMethods in jetbrains.buildServer.serverSide.impl with parameters of type AuthorityHolder Modifier and Type Method Description booleanMockVcsModification. relatedToBuildConfigurationsAccessibleTo(AuthorityHolder authorityHolder) -
Uses of AuthorityHolder in jetbrains.buildServer.serverSide.impl.approval
Methods in jetbrains.buildServer.serverSide.impl.approval that return AuthorityHolder Modifier and Type Method Description AuthorityHolderApprovalRule. getAuthorityHolder()Retrieve authority holder which is used in the rule.AuthorityHolderGroupApprovalRule. getAuthorityHolder()AuthorityHolderParameterReferenceRule. getAuthorityHolder()AuthorityHolderUserApprovalRule. getAuthorityHolder() -
Uses of AuthorityHolder in jetbrains.buildServer.serverSide.impl.artifacts
Constructors in jetbrains.buildServer.serverSide.impl.artifacts with parameters of type AuthorityHolder Constructor Description AccessDeniedBuildArtifactHolder(String relativePath, AuthorityHolder holder, String message) -
Uses of AuthorityHolder in jetbrains.buildServer.serverSide.impl.auth
Fields in jetbrains.buildServer.serverSide.impl.auth declared as AuthorityHolder Modifier and Type Field Description static AuthorityHolderSecurityContextImpl. NO_PERMISSIONSMethods in jetbrains.buildServer.serverSide.impl.auth that return AuthorityHolder Modifier and Type Method Description AuthorityHolderSecurityContextImpl. getAuthorityHolder()Retrieves authority holder from current context.AuthorityHolderSecurityContextImpl. getOriginalAuthority()AuthorityHolderSecurityContextImpl. restrictByServerPermissions(AuthorityHolder authorityHolder)AuthorityHolderServerLoginModelImpl. updateSecurityContext(AuthorityHolder authorityHolder)Methods in jetbrains.buildServer.serverSide.impl.auth with parameters of type AuthorityHolder Modifier and Type Method Description static booleanServerAuthUtil. canAddToRemoveFromGroup(AuthorityHolder authority, SUserGroup group)static booleanServerAuthUtil. canChangeUserOrGroupRole(AuthorityHolder authorityHolder, RoleScope scope, Role role)static booleanServerAuthUtil. canDeleteUser(AuthorityHolder authorityHolder, SUser editee)static booleanServerAuthUtil. canDeleteUserGroup(AuthorityHolder authorityHolder, SUserGroup userGroup)static booleanServerAuthUtil. canEditFeatureOfType(AuthorityHolder authorityHolder, SProject project, String featureType)static booleanServerAuthUtil. canEditFeaturesOfTypes(AuthorityHolder authorityHolder, SProject project, String... featureTypes)static booleanServerAuthUtil. canEditNotifications(AuthorityHolder authorityHolder, NotificationRulesHolder editee)Checks that authorityHolder can edit any notification rule of editee - either editee==authorityHolder and can modify own profile either authorityHolder has global permission to edit notificationsstatic booleanServerAuthUtil. canEditNotifications(AuthorityHolder authorityHolder, NotificationRulesHolder editee, SProject project)static booleanServerAuthUtil. canEditUser(AuthorityHolder authorityHolder, SUser editee)static booleanServerAuthUtil. canEditUserGroup(AuthorityHolder authorityHolder, UserGroup userGroup)static booleanServerAuthUtil. canEditUserGroupNotificationRules(AuthorityHolder authorityHolder)static booleanServerAuthUtil. canEditUserGroupRoles(AuthorityHolder authorityHolder, UserGroupEx userGroupEx)static booleanServerAuthUtil. canEditVcsUsername(AuthorityHolder authorityHolder, SUser user, String projectId)static booleanServerAuthUtil. canEditVcsUsernameInAtLeastOneProject(AuthorityHolder authorityHolder, SUser editee)static booleanServerAuthUtil. canViewUser(AuthorityHolder authorityHolder, SUser user)static booleanServerAuthUtil. canViewUserGroup(AuthorityHolder authorityHolder, UserGroup userGroup)static voidServerAuthUtil. checkCanAddToRemoveFromGroup(AuthorityHolder authority, SUserGroup group)Deprecated.static voidServerAuthUtil. checkCanChangeUserOrGroupRole(AuthorityHolder authorityHolder, RoleScope scope, Role role)Deprecated.static voidServerAuthUtil. checkCanCopyProject(AuthorityHolder authHolder, SProject originalProject, SProject parentOfCopy)Deprecated.static voidServerAuthUtil. checkCanCreateRemoveVcsRoot(AuthorityHolder authHolder, SProject project)Deprecated.static voidServerAuthUtil. checkCanDeleteUserGroup(AuthorityHolder authorityHolder, SUserGroup userGroup)Deprecated.static voidServerAuthUtil. checkCanEditBuildType(AuthorityHolder authHolder, SBuildType buildType)Deprecated.static voidServerAuthUtil. checkCanEditFeatureOfType(AuthorityHolder authorityHolder, SProject project, String featureType)Deprecated.static voidServerAuthUtil. checkCanEditNotifications(AuthorityHolder authorityHolder, NotificationRulesHolder editee)Deprecated.static voidServerAuthUtil. checkCanEditProject(AuthorityHolder authHolder, SProject project)Deprecated.static voidServerAuthUtil. checkCanEditTemplate(AuthorityHolder authHolder, BuildTypeTemplate template)Deprecated.static voidServerAuthUtil. checkCanEditUser(AuthorityHolder authorityHolder, SUser editee)Deprecated.static voidServerAuthUtil. checkCanEditUserGroup(AuthorityHolder authorityHolder, SUserGroup userGroup)Deprecated.static voidServerAuthUtil. checkCanEditVcsRoot(AuthorityHolder authHolder, SVcsRoot vcsRoot)Deprecated.static voidServerAuthUtil. checkCanEditVcsUsernameInAtLeastOneProject(AuthorityHolder authorityHolder, SUser editee)static voidServerAuthUtil. checkCanManagePoolProjectAssociations(AuthorityHolder authHolder, Collection<String> poolProjects)Deprecated.static voidServerAuthUtil. checkCanManageRolesInScope(AuthorityHolder authorityHolder, RoleScope scope)Deprecated.static voidServerAuthUtil. checkCanRemoveBuild(AuthorityHolder authorityHolder, SBuild build)Deprecated.static voidServerAuthUtil. checkCanRemoveProject(AuthorityHolder authorityHolder, SProject project)Deprecated.static voidServerAuthUtil. checkCanRunBuildOnAgent(AuthorityHolder authorityHolder, BuildType buildType, BuildAgent agent)Deprecated.static voidServerAuthUtil. checkCanStopBuild(AuthorityHolder authorityHolder, SRunningBuild build)Deprecated.static voidServerAuthUtil. checkCanViewAgentDetailsInPool(AuthorityHolder authorityHolder, AgentPool agentPool)Deprecated.static voidServerAuthUtil. checkCanViewAgentPool(AuthorityHolder authorityHolder, AgentPool agentPool)Deprecated.static voidServerAuthUtil. checkCanViewSettings(AuthorityHolder authorityHolder, BuildTypeTemplate template)Deprecated.static voidServerAuthUtil. checkCanViewSettings(AuthorityHolder authorityHolder, SBuildType buildType)Deprecated.static voidServerAuthUtil. checkCanViewSettings(AuthorityHolder authorityHolder, SVcsRoot vcsRoot)Deprecated.static voidServerAuthUtil. checkCanViewUserProfile(AuthorityHolder authorityHolder, SUser user)Deprecated.static voidServerAuthUtil. checkFileContentAccessible(AuthorityHolder authorityHolder, String projectId)Deprecated.static voidServerAuthUtil. checkFileContentAccessible(AuthorityHolder authorityHolder, SVcsModification mod)Deprecated.static voidServerAuthUtil. checkHasGlobalPermission(AuthorityHolder authorityHolder, Permission permission)Deprecated.static voidServerAuthUtil. checkHasPermissionForAnyProject(AuthorityHolder authorityHolder, Permission permission)Deprecated.static voidServerAuthUtil. checkHasPermissionForPool(AuthorityHolder authorityHolder, AgentPool pool, Permission globalPermission, Permission poolPermission)Deprecated.static voidServerAuthUtil. checkHasPermissionForProject(AuthorityHolder authorityHolder, String projectId, Permission permission)Deprecated.static voidServerAuthUtil. checkReadAccessTo(AuthorityHolder authorityHolder, String projectId)Deprecated.static voidServerAuthUtil. checkReadAccessTo(AuthorityHolder authorityHolder, Build build)Deprecated.static voidServerAuthUtil. checkReadAccessTo(AuthorityHolder authorityHolder, BuildTypeDescriptor buildType)Deprecated.static voidServerAuthUtil. checkReadAccessTo(AuthorityHolder authorityHolder, SVcsModification vcsModification)Deprecated.static voidServerAuthUtil. checkReadAccessTo(AuthorityHolder authorityHolder, SVcsRoot vcsRoot)Deprecated.static voidServerAuthUtil. checkReadAccessTo(AuthorityHolder authorityHolder, VcsRootInstance vcsRoot)Deprecated.static booleanServerAuthUtil. containsAllPermissionsOf(AuthorityHolder bigHolder, AuthorityHolder smallHolder)StringSecurityContextImpl. describeAuthorityHolder(AuthorityHolder authorityHolder)static LongServerAuthUtil. getBuildIdIfBuildAuthority(AuthorityHolder authorityHolder)static booleanServerAuthUtil. hasPermissionToEditNotificationRule(AuthorityHolder authorityHolder, NotificationRulesHolder notificationRulesHolder, Collection<String> affectedProjectIds)static booleanServerAuthUtil. hasPermissionToEditNotificationRule(AuthorityHolder authorityHolder, NotificationRulesHolder notificationRulesHolder, NotificationRule notificationRule, Function<Collection<String>,Collection<String>> buildTypeIdsToParentProjectsMapper)AuthorityHolderSecurityContextImpl. restrictByServerPermissions(AuthorityHolder authorityHolder)voidSecurityContextImpl. runAs(AuthorityHolder authority, SecurityContextEx.RunAsAction action)<T> TSecurityContextImpl. runAs(AuthorityHolder authority, SecurityContextEx.RunAsActionWithResult<T> action)voidSecurityContextImpl. runAsUnchecked(AuthorityHolder authority, SecurityContextEx.RunAsAction action)<T> TSecurityContextImpl. runAsUnchecked(AuthorityHolder authority, SecurityContextEx.RunAsActionWithResult<T> action)voidSecurityContextImpl. setAuthorityHolder(AuthorityHolder authority)Sets AuthorityHolder in the contextAuthorityHolderServerLoginModelImpl. updateSecurityContext(AuthorityHolder authorityHolder)Constructors in jetbrains.buildServer.serverSide.impl.auth with parameters of type AuthorityHolder Constructor Description BuildPromotionAccessFilter(AuthorityHolder authorityHolder)BuildTypeAccessFilter(AuthorityHolder authorityHolder, Permission permission)ProjectAccessFilter(AuthorityHolder authorityHolder) -
Uses of AuthorityHolder in jetbrains.buildServer.serverSide.projectsExport
Methods in jetbrains.buildServer.serverSide.projectsExport with parameters of type AuthorityHolder Modifier and Type Method Description booleanProjectExporterFactory. hasPermissionFor(SProject project, AuthorityHolder authorityHolder)booleanServerProjectExportService. hasPermissionFor(SProject project, AuthorityHolder authorityHolder) -
Uses of AuthorityHolder in jetbrains.buildServer.users
Subinterfaces of AuthorityHolder in jetbrains.buildServer.users Modifier and Type Interface Description interfaceSUserPresents TeamCity user data.interfaceUserRepresents a userClasses in jetbrains.buildServer.users that implement AuthorityHolder Modifier and Type Class Description classSimpleUserDataThis class contains main information to be sent via XmlRpc to remote client about TeamCity userclassUserDataThis class contains all necessary information to be sent via XmlRpc to remote client about TeamCity userMethods in jetbrains.buildServer.users with parameters of type AuthorityHolder Modifier and Type Method Description booleanSimpleUserData. hasAllPermissionsOf(AuthorityHolder authorityHolder) -
Uses of AuthorityHolder in jetbrains.buildServer.users.impl
Subinterfaces of AuthorityHolder in jetbrains.buildServer.users.impl Modifier and Type Interface Description interfaceUserExClasses in jetbrains.buildServer.users.impl that implement AuthorityHolder Modifier and Type Class Description classAssociatedUserUser associated with build type or project This user is not an actual TeamCity user but rather "fake" user that acts on behalf of the build type of project it's associated withclassBaseUserBase class delegating authority holder methods to actual authority holder which should be returned by this class inheritors.classRestrictedUserImplclassSecuredUserclassTestUserclassUserImplMethods in jetbrains.buildServer.users.impl that return AuthorityHolder Modifier and Type Method Description AuthorityHolderBaseUser. getOriginalAuthorityHolder()calculates permissions if not cached or recalculates if neededAuthorityHolderRestrictedUserImpl. getOriginalAuthorityHolder()AuthorityHolderUserEx. getOriginalAuthorityHolder()The same asSecurityContextEx.getOriginalAuthority()Methods in jetbrains.buildServer.users.impl with parameters of type AuthorityHolder Modifier and Type Method Description booleanBaseUser. hasAllPermissionsOf(AuthorityHolder authorityHolder)booleanRestrictedUserImpl. hasAllPermissionsOf(AuthorityHolder authorityHolder) -
Uses of AuthorityHolder in jetbrains.buildServer.vcs
Methods in jetbrains.buildServer.vcs with parameters of type AuthorityHolder Modifier and Type Method Description booleanSVcsModification. relatedToBuildConfigurationsAccessibleTo(AuthorityHolder authorityHolder)Returns true if the specified authority holder has read access to at least one build configuration where this VCS modification was detected. -
Uses of AuthorityHolder in jetbrains.buildServer.vcs.impl
Methods in jetbrains.buildServer.vcs.impl with parameters of type AuthorityHolder Modifier and Type Method Description booleanAbstractVcsModification. relatedToBuildConfigurationsAccessibleTo(AuthorityHolder authorityHolder) -
Uses of AuthorityHolder in jetbrains.buildServer.web
Methods in jetbrains.buildServer.web with parameters of type AuthorityHolder Modifier and Type Method Description booleanPermissionChecker. checkPermissions(AuthorityHolder authorityHolder)Checks the permissions of theauthorityHolder, throws an exception or returnsfalsein case of failure.booleanWebAccessService.ProviderBean. checkPermissions(AuthorityHolder authorityHolder)
-