Commit Graph

4 Commits

Author SHA1 Message Date
burnettk 4a48d9cccd Squashed 'spiffworkflow-backend/' changes from f9c2fa21e..5225a8b4c
5225a8b4c pyl
259f74a1e Merge branch 'main' into bug/refresh-token
d452208ef Merge pull request #135 from sartography/feature/permissions3
8e1075406 Merge branch 'main' into bug/refresh-token
2b01d2fe7 fixed authentication_callback and getting the user w/ burnettk
476e36c7d mypy changes
6403e62c0 Fix migration after merging main
594a32b67 merged in main and resolved conflicts w/ burnettk
b285ba1a1 added updated columns to secrets and updated flask-bpmn
7c53fc9fa Merge remote-tracking branch 'origin/main' into feature/permissions3
201a6918a pyl changes
a6112f7fb Merge branch 'main' into bug/refresh-token
87f65a6c6 auth_token should be dictionary, not string
f163de61c pyl
1f443bb94 PublicAuthenticationService -> AuthenticationService
6c491a3df Don't refresh token here. They just logged in. We are validating the returned token. If it is bad, raise an error.
91b8649f8 id_token -> auth_token
fc94774bb Move `store_refresh_token` to authentication_service
00d66e9c5 mypy
c4e415dbe mypy
1e75716eb Pre commit
a72b03e09 Rename method. We pass it auth_tokens, not id_tokens
9a6700a6d Too many things expect g.token. Reverting my change
74883fb23 Noe store refresh_token, and try to use it if auth_token is expired Renamed some methods to use correct token type
be0557013 Cleanup - remove unused code
cf01f0d51 Add refresh_token model
1c0c937af added method to delete all permissions so we can recreate them w/ burnettk
aaeaac879 Merge remote-tracking branch 'origin/main' into feature/permissions3
44856fce2 added api endpoint to check if user has permissions based on given target uris w/ burnettk
ae830054d precommit w/ burnettk
94d50efb1 created common method to check whether an api method should have auth w/ burnettk
c955335d0 precommit w/ burnettk
37caf1a69 added a finance user to keycloak and fixed up the staging permission yml w/ burnettk
93c456294 merged in main and resolved conflicts w/ burnettk
06a7c6485 remaining tests are now passing w/ burnettk
50529d04c added test to make sure api gives a 403 if a permission is not found w/ burnettk
6a9d0a68a api calls are somewhat respecting permissions now and the process api tests are passing
d07fbbeff attempting to respect permissions w/ burnettk

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 5225a8b4c101133567d4f7efa33632d36c29c81d
2022-10-20 16:00:12 -04:00
burnettk 4f0f5b1ece Squashed 'spiffworkflow-backend/' changes from 823e32eb8..2fbc6777b
2fbc6777b filter out NotFound from our sentry alerts and fix a bunch of typing things

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 2fbc6777bd70959113a912f47af1ef7ee87c3441
2022-10-18 07:09:34 -04:00
Jon Herron 93dbce681e Squashed 'spiffworkflow-backend/' changes from eb89e9529..59e6ee2c8
59e6ee2c8 Merge pull request #136 from sartography/dependabot/github_actions/actions/cache-3.0.11
88c61c83b Bump actions/cache from 3.0.10 to 3.0.11
344f8045b Merge branch 'feature/secrets'
08f112aa5 remove unused import
326c88cd6 lint
516ee5fcd Remove allowed process stuff from secrets
85808cb6b Merge branch 'main' into feature/secrets
6da486fd9 Merge branch 'main' into feature/secrets
8fb5c8612 add environ
1500e234a update staging configs
a1f50f09c lint
f0111adb8 Merge remote-tracking branch 'origin/main' into feature/secrets
453c4b1e2 add get and update for allowed process paths
35dd02d1c Merge branch 'main' into feature/secrets
f3166cc8a Merge branch 'main' into feature/secrets
c2d67c008 pre commit
11a24368b mypy
ff56ed068 Use secret key when adding allowed process model
1b25d08a3 poetry update

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 59e6ee2c8baeee516c04a814365b59698dbc61d1
2022-10-13 20:45:04 -04:00
Jon Herron 883e65384f Squashed 'spiffworkflow-backend/' content from commit 50f28073
git-subtree-dir: spiffworkflow-backend
git-subtree-split: 50f28073add91265f00826bd175c8b2fff76cdc5
2022-10-12 10:22:22 -04:00