Skip to content
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

Merged
merged 24 commits into from Oct 31, 2021
Merged

Auth policy #210

merged 24 commits into from Oct 31, 2021

Commits on Oct 6, 2021

  1. Copy the full SHA
    215fa00 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2021

  1. fix issue in naturaltime test due to humanize lib adding a year if da…

    …te is older than 5 months
    nhoening committed Oct 12, 2021
    Copy the full SHA
    2d7946e View commit details
    Browse the repository at this point in the history
  2. 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).
    nhoening committed Oct 12, 2021
    Copy the full SHA
    c27eb21 View commit details
    Browse the repository at this point in the history
  3. apply new decorators to endoints, switch some user-role-dependent cod…

    …e to account-role checking
    nhoening committed Oct 12, 2021
    Copy the full SHA
    8e02ec0 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    eea57a4 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    cd30244 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    f832c60 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2021

  1. changelog entry

    nhoening committed Oct 14, 2021
    Copy the full SHA
    c0e0ac4 View commit details
    Browse the repository at this point in the history
  2. documentation

    add documentation about account authorization
    nhoening committed Oct 14, 2021
    Copy the full SHA
    abf5a98 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    ade6647 View commit details
    Browse the repository at this point in the history
  4. add missing dev/auth chapter

    nhoening committed Oct 14, 2021
    Copy the full SHA
    ea595c9 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    2cd93cd View commit details
    Browse the repository at this point in the history
  6. remove unused code

    nhoening committed Oct 14, 2021
    Copy the full SHA
    e44e14d View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    78de98e View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2021

  1. Copy the full SHA
    3f5f3e8 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    9755afe View commit details
    Browse the repository at this point in the history
  3. 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
    nhoening committed Oct 29, 2021
    Copy the full SHA
    4bf020d View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    8a61d34 View commit details
    Browse the repository at this point in the history
  5. create new admin user last, so somw tests which assume users ids 1 or…

    … 2 will use the correct test user
    nhoening committed Oct 29, 2021
    Copy the full SHA
    e11bf10 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    719ffb9 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    67e1ef6 View commit details
    Browse the repository at this point in the history
  8. remove unused imports

    nhoening committed Oct 29, 2021
    Copy the full SHA
    038fac8 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2021

  1. Copy the full SHA
    c722ef7 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2021

  1. one more typo

    nhoening committed Oct 31, 2021
    Copy the full SHA
    78620c5 View commit details
    Browse the repository at this point in the history