LicenseRoleAdminService
or
LicenseRoleAuthorizationService
instead@ExperimentalApi @Deprecated public interface LicenseRoleService extends LicenseRoleAdminService
JiraLicenseManager}
ERROR_GROUPS, ERROR_PRIMARY
Modifier and Type | Method and Description |
---|---|
boolean |
userHasRole(ApplicationUser user,
LicenseRoleId licenseRoleId)
|
getRole, getRoles, setGroups, setRole
@Deprecated boolean userHasRole(@Nullable ApplicationUser user, @Nonnull LicenseRoleId licenseRoleId)
LicenseRoleAuthorizationService.canUseRole(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.license.LicenseRoleId)
insteaduser
- the user to check - if this is null, this method returns falselicenseRoleId
- the license role to check - if this is null, you'll get an exception :)Copyright © 2002-2015 Atlassian. All Rights Reserved.