Interface GroupService.Validator

All Known Implementing Classes:
GroupServiceImpl.GroupValidator
Enclosing interface:
GroupService

public static interface GroupService.Validator
  • Method Details

    • validateView

      ValidationResult validateView()
      Validate that the logged-in user has permission to view groups.
      Returns:
      an immutable validation result
    • validateCreate

      ValidationResult validateCreate(String groupName)
      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

      ValidationResult validateDelete(String groupName)
      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