public class DefaultTabLoadedDataProvider extends Object implements TabLoadedDataProvider
Constructor and Description |
---|
DefaultTabLoadedDataProvider(GlobalPermissionManager globalPermissionManager,
ProjectPermissionHelper projectPermissionHelper) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasExtPermission(Project project) |
boolean |
isAdmin(ApplicationUser user) |
boolean |
isSysAdmin(ApplicationUser user) |
public DefaultTabLoadedDataProvider(GlobalPermissionManager globalPermissionManager, ProjectPermissionHelper projectPermissionHelper)
public boolean isAdmin(@Nullable ApplicationUser user)
isAdmin
in interface TabLoadedDataProvider
public boolean isSysAdmin(@Nullable ApplicationUser user)
isSysAdmin
in interface TabLoadedDataProvider
public boolean hasExtPermission(@Nullable Project project)
hasExtPermission
in interface TabLoadedDataProvider
project
- permission scheme associated with it will be checked against "extended project administration"Copyright © 2002-2022 Atlassian. All Rights Reserved.