public interface PermissionServiceRegistry
PermissionService
of different
scope type. This registry can be used by different PermissionService
(s)
that need to check access to their different parent scope types.Modifier and Type | Method and Description |
---|---|
List<String> |
fetchPermissionsForHistoricScope(String scopeId,
String scopeType,
boolean checkWritePermissionInParent,
String userId,
Set<String> groupKeys,
String tenantId) |
List<String> |
fetchPermissionsForHistoricScope(String scopeId,
String scopeType,
String userId,
Set<String> groupKeys,
String tenantId) |
List<String> |
fetchPermissionsForRuntimeScope(String scopeId,
String scopeType,
boolean checkWritePermissionInParent,
String userId,
Set<String> groupKeys,
String tenantId) |
List<String> |
fetchPermissionsForRuntimeScope(String scopeId,
String scopeType,
String userId,
Set<String> groupKeys,
String tenantId) |
PermissionService |
getPermissionService(String scopeType) |
boolean |
hasPermissionForHistoricScope(String permission,
String scopeId,
String scopeType,
String userId,
Set<String> groupKeys,
String tenantId) |
boolean |
hasPermissionForRuntimeScope(String permission,
String scopeId,
String scopeType,
String userId,
Set<String> groupKeys,
String tenantId) |
boolean |
hasPermissionForScope(String permission,
String scopeId,
String scopeType,
String userId,
Set<String> groupKeys,
String tenantId) |
boolean |
hasReadPermissionOnScopeDefinition(String scopeDefinitionId,
String scopeDefinitionKey,
String scopeType,
String userId,
Set<String> groupKeys,
String tenantId) |
default void |
validatePermissionForHistoricScope(String permission,
String scopeId,
String scopeType,
String userId,
Set<String> groupKeys,
String tenantId) |
default void |
validatePermissionForRuntimeScope(String permission,
String scopeId,
String scopeType,
String userId,
Set<String> groupKeys,
String tenantId) |
default void |
validatePermissionForScope(String permission,
String scopeId,
String scopeType,
String userId,
Set<String> groupKeys,
String tenantId) |
default void |
validateReadPermissionOnScopeDefinition(String scopeDefinitionId,
String scopeDefinitionKey,
String scopeType,
String userId,
Set<String> groupKeys,
String tenantId) |
default void validatePermissionForScope(String permission, String scopeId, String scopeType, String userId, Set<String> groupKeys, String tenantId)
boolean hasPermissionForScope(String permission, String scopeId, String scopeType, String userId, Set<String> groupKeys, String tenantId)
default void validatePermissionForRuntimeScope(String permission, String scopeId, String scopeType, String userId, Set<String> groupKeys, String tenantId)
boolean hasPermissionForRuntimeScope(String permission, String scopeId, String scopeType, String userId, Set<String> groupKeys, String tenantId)
List<String> fetchPermissionsForRuntimeScope(String scopeId, String scopeType, String userId, Set<String> groupKeys, String tenantId)
List<String> fetchPermissionsForRuntimeScope(String scopeId, String scopeType, boolean checkWritePermissionInParent, String userId, Set<String> groupKeys, String tenantId)
default void validatePermissionForHistoricScope(String permission, String scopeId, String scopeType, String userId, Set<String> groupKeys, String tenantId)
boolean hasPermissionForHistoricScope(String permission, String scopeId, String scopeType, String userId, Set<String> groupKeys, String tenantId)
List<String> fetchPermissionsForHistoricScope(String scopeId, String scopeType, String userId, Set<String> groupKeys, String tenantId)
List<String> fetchPermissionsForHistoricScope(String scopeId, String scopeType, boolean checkWritePermissionInParent, String userId, Set<String> groupKeys, String tenantId)
default void validateReadPermissionOnScopeDefinition(String scopeDefinitionId, String scopeDefinitionKey, String scopeType, String userId, Set<String> groupKeys, String tenantId)
boolean hasReadPermissionOnScopeDefinition(String scopeDefinitionId, String scopeDefinitionKey, String scopeType, String userId, Set<String> groupKeys, String tenantId)
PermissionService getPermissionService(String scopeType)