You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- remove controller and authenticate directly in the handler
- implement a custom bucket type instead of using orm.Bucket and helper
functions
- remove custom errors and use those declared in errors package instead
- wrap all returned errors and provide additional description
resolve#527
- remove controller and authenticate directly in the handler
- implement a custom bucket type instead of using orm.Bucket and helper
functions
- remove custom errors and use those declared in errors package instead
- wrap all returned errors and provide additional description
resolve#527
The current implementation of permission check in
x/validators
is very indirect and hard to track down.To undestand permissions check this chain must be followed
1 -> 2 -> 3 -> 4 -> 5 -> 6
I believe this whole chain of indirection can be reduced to a single line in which we directly ensure permissions using
auth
instance.This is how we check permission everywhere, so I believe there is no reason to not code this logic into the application.
The text was updated successfully, but these errors were encountered: