New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auth policy #210
Auth policy #210
Commits on Oct 6, 2021
Commits on Oct 12, 2021
-
fix issue in naturaltime test due to humanize lib adding a year if da…
…te is older than 5 months
-
central auth policy with decorators and error handling. Added account…
… roles decorators. User role decorators respect admin access. Added unified error handler for all API calls (invalid_sender).
-
apply new decorators to endoints, switch some user-role-dependent cod…
…e to account-role checking
-
-
Commits on Oct 14, 2021
Commits on Oct 29, 2021
-
-
-
More straightforward use of test users: add a true admin user in main…
… conftest and use it where necessary; use dummy user instead of moving a user between accounts
-
-
create new admin user last, so somw tests which assume users ids 1 or…
… 2 will use the correct test user
-
-