This PR adds validation for /groups endpoints to the ReBAC Admin UI library. This functionality is implemented as a decorated handler that wraps/decorates the actual handler and applies validation logic.
For now, this is only done for /groups endpoints. After this has landed, follow up PRs would be submitted for the rest of endpoints.
Note that the bulk of methods in rebac-admin-backend/v1/validation.go are there to implement the interface. I could've embedded the Unimplemented struct for this, but since these were already there, I didn't change it.
This PR adds validation for
/groups
endpoints to the ReBAC Admin UI library. This functionality is implemented as a decorated handler that wraps/decorates the actual handler and applies validation logic.For now, this is only done for
/groups
endpoints. After this has landed, follow up PRs would be submitted for the rest of endpoints.Note that the bulk of methods in
rebac-admin-backend/v1/validation.go
are there to implement the interface. I could've embedded theUnimplemented
struct for this, but since these were already there, I didn't change it.Fixes CSS-7621