Interface GroupService.Validator
- All Known Implementing Classes:
GroupServiceImpl.GroupValidator
- Enclosing interface:
- GroupService
public static interface GroupService.Validator
-
Method Summary
Modifier and TypeMethodDescriptionvalidateCreate
(String groupName) Validate that the logged-in user has permission to create a group with the given name.validateDelete
(String groupName) Validate that the logged-in user has permission to delete a group with the given name.Validate that the logged-in user has permission to view groups.
-
Method Details
-
validateView
ValidationResult validateView()Validate that the logged-in user has permission to view groups.- Returns:
- an immutable validation result
-
validateCreate
Validate that the logged-in user has permission to create a group with the given name.- Returns:
- an immutable validation result
- Since:
- 8.2.0
-
validateDelete
Validate that the logged-in user has permission to delete a group with the given name.- Returns:
- an immutable validation result
- Since:
- 8.2.0
-