This repository has been archived by the owner on Jun 9, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 357
feat: authorization #814
Merged
ojeytonwilliams
merged 17 commits into
freeCodeCamp:main
from
ojeytonwilliams:feat/authorization
Jun 13, 2022
Merged
feat: authorization #814
ojeytonwilliams
merged 17 commits into
freeCodeCamp:main
from
ojeytonwilliams:feat/authorization
Jun 13, 2022
Commits on Jun 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6a2dd39 - Browse repository at this point
Copy the full SHA 6a2dd39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1608643 - Browse repository at this point
Copy the full SHA 1608643View commit details -
This gives consistency with other requests and allows auth to differentiate between requests
Configuration menu - View commit details
-
Copy full SHA for be0509e - Browse repository at this point
Copy the full SHA be0509eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d526500 - Browse repository at this point
Copy the full SHA d526500View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fae47a - Browse repository at this point
Copy the full SHA 5fae47aView commit details -
Revert "DEBUG: add auth decorator"
This reverts commit 761238a.
Configuration menu - View commit details
-
Copy full SHA for 530222d - Browse repository at this point
Copy the full SHA 530222dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae70957 - Browse repository at this point
Copy the full SHA ae70957View commit details -
test: add tests for three types of users
A user with an instance role, one with a chapter role and third with an event role
Configuration menu - View commit details
-
Copy full SHA for ea719d7 - Browse repository at this point
Copy the full SHA ea719d7View commit details -
fix: fetch events' chapter_ids when getting user
Rather than requiring a second db request during authorization
Configuration menu - View commit details
-
Copy full SHA for d229aa8 - Browse repository at this point
Copy the full SHA d229aa8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b1286b - Browse repository at this point
Copy the full SHA 7b1286bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c19101 - Browse repository at this point
Copy the full SHA 7c19101View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd3d989 - Browse repository at this point
Copy the full SHA fd3d989View commit details -
Configuration menu - View commit details
-
Copy full SHA for fcd3d1f - Browse repository at this point
Copy the full SHA fcd3d1fView commit details
Commits on Jun 9, 2022
-
refactor: use clearer variable and function names
Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a95b2fb - Browse repository at this point
Copy the full SHA a95b2fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7c0f92 - Browse repository at this point
Copy the full SHA d7c0f92View commit details -
fix: remove variable validation
It does not seem necessary, since invalid variables will be ignored and so should never grant permission incorrectly. Invalid requests will be denied without explanation, so we can revisit this approach if that happens too often.
Configuration menu - View commit details
-
Copy full SHA for e01a534 - Browse repository at this point
Copy the full SHA e01a534View commit details
Commits on Jun 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 55c3132 - Browse repository at this point
Copy the full SHA 55c3132View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.