rbac icon indicating copy to clipboard operation
rbac copied to clipboard

Implement the methods `getAllAssignments()`, `getAllRoles`, `getAllRules()` in `Manager::class`

Open terabytesoftw opened this issue 4 years ago • 2 comments

I think it would be a good thing to return these methods in manager since they are resolved within the class, which is ideal for creating an rbac service.

terabytesoftw avatar Nov 24 '21 18:11 terabytesoftw

It's good to have these but it won't work for real-world cases:

  1. If there are too many assignments (and that is very likely) pagination is needed.
  2. For a good UI, more it needed: you'll likely need an ability to search and auto-complete items etc.

samdark avatar Jan 10 '22 20:01 samdark

I think it's a good idea to release without these and then add it in a subsequent major release.

samdark avatar Jan 11 '22 21:01 samdark