Class PermissionsTestServiceImpl
java.lang.Object
com.atlassian.bamboo.plugins.testutils.permission.PermissionsTestServiceImpl
- All Implemented Interfaces:
PermissionsTestService
Provides Permissions-related functionality for functional testing
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
PermissionsTestServiceImpl
-
-
Method Details
-
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
-