Class PermissionsTestServiceImpl
- java.lang.Object
-
- com.atlassian.bamboo.plugins.testutils.permission.PermissionsTestServiceImpl
-
- All Implemented Interfaces:
PermissionsTestService
public class PermissionsTestServiceImpl extends Object implements PermissionsTestService
Provides Permissions-related functionality for functional testing
-
-
Constructor Summary
Constructors Constructor Description PermissionsTestServiceImpl(HibernateMutableAclService aclService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
grantPermission(@NotNull BambooIdProvider entity, @NotNull BambooPrincipalType principalType, @NotNull String sidName, @NotNull String permissionName)
boolean
hasPermission(@NotNull BambooIdProvider entity, @NotNull BambooPrincipalType principalType, @NotNull String sidName, @NotNull String permissionName)
void
revokePermission(@NotNull BambooIdProvider entity, @NotNull BambooPrincipalType principalType, @NotNull String sidName, @NotNull String permissionName)
-
-
-
Constructor Detail
-
PermissionsTestServiceImpl
@Autowired public PermissionsTestServiceImpl(HibernateMutableAclService aclService)
-
-
Method Detail
-
grantPermission
public void grantPermission(@NotNull @NotNull BambooIdProvider entity, @NotNull @NotNull BambooPrincipalType principalType, @NotNull @NotNull String sidName, @NotNull @NotNull String permissionName)
- Specified by:
grantPermission
in interfacePermissionsTestService
-
revokePermission
public void revokePermission(@NotNull @NotNull BambooIdProvider entity, @NotNull @NotNull BambooPrincipalType principalType, @NotNull @NotNull String sidName, @NotNull @NotNull String permissionName)
- Specified by:
revokePermission
in interfacePermissionsTestService
-
hasPermission
public boolean hasPermission(@NotNull @NotNull BambooIdProvider entity, @NotNull @NotNull BambooPrincipalType principalType, @NotNull @NotNull String sidName, @NotNull @NotNull String permissionName)
- Specified by:
hasPermission
in interfacePermissionsTestService
-
-