@Component public class PermissionsTestServiceImpl extends Object implements PermissionsTestService
Constructor and Description |
---|
PermissionsTestServiceImpl(HibernateMutableAclService aclService) |
Modifier and Type | Method and Description |
---|---|
void |
grantPermission(BambooIdProvider entity,
BambooPrincipalType principalType,
String sidName,
String permissionName) |
boolean |
hasPermission(BambooIdProvider entity,
BambooPrincipalType principalType,
String sidName,
String permissionName) |
void |
revokePermission(BambooIdProvider entity,
BambooPrincipalType principalType,
String sidName,
String permissionName) |
@Autowired public PermissionsTestServiceImpl(HibernateMutableAclService aclService)
public void grantPermission(@NotNull BambooIdProvider entity, @NotNull BambooPrincipalType principalType, @NotNull String sidName, @NotNull String permissionName)
grantPermission
in interface PermissionsTestService
public void revokePermission(@NotNull BambooIdProvider entity, @NotNull BambooPrincipalType principalType, @NotNull String sidName, @NotNull String permissionName)
revokePermission
in interface PermissionsTestService
public boolean hasPermission(@NotNull BambooIdProvider entity, @NotNull BambooPrincipalType principalType, @NotNull String sidName, @NotNull String permissionName)
hasPermission
in interface PermissionsTestService
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.