628 Commits

Author SHA1 Message Date
jasquat
be1f4bcc1a added validation to ensure user has access to task w/ burnettk 2022-10-20 17:23:23 -04:00
jasquat
a387b78786 added some code to respect lanes in a process model w/ burnettk 2022-10-20 17:06:48 -04:00
mike cullerton
259f74a1ee Merge branch 'main' into bug/refresh-token
# Conflicts:
#	migrations/versions/cf862b761896_.py
#	migrations/versions/f1f17d99d118_.py
#	migrations/versions/fe0828c30b20_.py
2022-10-20 13:07:29 -04:00
mike cullerton
8e1075406f Merge branch 'main' into bug/refresh-token
# Conflicts:
#	migrations/versions/07ff3fbef405_.py
#	migrations/versions/9e14b40371f3_.py
#	migrations/versions/c98445562ced_.py
#	src/spiffworkflow_backend/services/authentication_service.py
2022-10-20 11:54:25 -04:00
jasquat
2b01d2fe76 fixed authentication_callback and getting the user w/ burnettk 2022-10-20 11:49:58 -04:00
jasquat
594a32b676 merged in main and resolved conflicts w/ burnettk 2022-10-20 11:27:15 -04:00
burnettk
c05b518134 Merge remote-tracking branch 'origin/main' into feature/lib-updates-and-mypy 2022-10-20 09:05:02 -04:00
burnettk
f9c2fa21ec lint 2022-10-20 07:15:20 -04:00
burnettk
287d10494e only do startswith when it is a string 2022-10-20 07:14:30 -04:00
burnettk
3ddaa5d088 lib updates and mypy 2022-10-19 22:01:39 -04:00
jasquat
72049c0041 added authentication callback endpoint. w/ burnettk, cullerton, jbirddog 2022-10-19 14:19:12 -04:00
Dan
1f99264c0f Remove all references to the MasterWorkflow, standalone workflows, and libraries, as these concepts should no longer exist. 2022-10-18 16:11:38 -04:00
Dan
5e13a23912 Remove the "master_spec" 2022-10-18 15:55:50 -04:00
jasquat
7c53fc9fa7 Merge remote-tracking branch 'origin/main' into feature/permissions3 2022-10-18 08:43:09 -04:00
burnettk
2fbc6777bd filter out NotFound from our sentry alerts and fix a bunch of typing things 2022-10-18 07:09:03 -04:00
mike cullerton
1f443bb946 PublicAuthenticationService -> AuthenticationService 2022-10-17 12:43:17 -04:00
jasquat
44856fce25 added api endpoint to check if user has permissions based on given target uris w/ burnettk 2022-10-13 17:16:47 -04:00
jasquat
93c4562944 merged in main and resolved conflicts w/ burnettk 2022-10-13 15:02:45 -04:00
jasquat
06a7c6485c remaining tests are now passing w/ burnettk 2022-10-13 14:59:26 -04:00
jasquat
50529d04c3 added test to make sure api gives a 403 if a permission is not found w/ burnettk 2022-10-13 14:46:23 -04:00
jasquat
6a9d0a68a7 api calls are somewhat respecting permissions now and the process api tests are passing 2022-10-13 14:15:31 -04:00
mike cullerton
516ee5fcd7 Remove allowed process stuff from secrets 2022-10-13 08:20:42 -04:00
mike cullerton
85808cb6b4 Merge branch 'main' into feature/secrets 2022-10-13 07:45:25 -04:00
mike cullerton
6da486fd99 Merge branch 'main' into feature/secrets 2022-10-12 16:57:56 -04:00
jasquat
92d204e696 Merge remote-tracking branch 'origin/main' into feature/data 2022-10-12 14:20:09 -04:00
burnettk
d29621aef9 data setup on app boot 2022-10-12 13:26:04 -04:00
jasquat
68d699784e precommit w/ burnettk 2022-10-11 17:03:28 -04:00
jasquat
93eb91f486 added keycloak configs and user perms for staging w/ burnettk 2022-10-11 16:00:52 -04:00
jasquat
e4ded8fc05 added method to import permissions from yml file w/ burnettk 2022-10-11 15:18:32 -04:00
jasquat
22ba89ae4f use percents instead of asterisks to better support db syntax w/ burnettk 2022-10-11 11:51:12 -04:00
jasquat
621ad3ef2e attempting to see if sql like statement works in other dbs as well w/ burnettk 2022-10-11 11:43:52 -04:00
jasquat
f652f3e56f Merge remote-tracking branch 'origin/main' into feature/permissions 2022-10-11 10:31:22 -04:00
jasquat
e6cc68fc9d merged in main and resolved conflicts 2022-10-11 10:18:20 -04:00
jasquat
56bd51db18 reverting since that was not the correct fix 2022-10-11 10:14:51 -04:00
burnettk
e55c740b05 pick up more renames 2022-10-11 10:14:32 -04:00
burnettk
9888bd09ad rename code to error_code 2022-10-11 10:08:05 -04:00
jasquat
e557a9dd1e fixed db error message checks 2022-10-11 10:03:16 -04:00
jasquat
cb1c6a261a precommit is now passing 2022-10-11 09:53:42 -04:00
jasquat
e9442cf27a started adding a test for update permission usage 2022-10-11 09:44:32 -04:00
burnettk
fb572c99e8 allow updating primary_file_name and primary_process_id from process model update 2022-10-10 22:18:28 -04:00
jasquat
595a94a1b2 some updates for permissions w/ burnettk 2022-10-10 14:09:45 -04:00
burnettk
eeb6b054ba try without workflow.json 2022-10-09 22:26:38 -04:00
Kevin Burnett
d85daf4766
Merge pull request #120 from sartography/bugfix/allow-datetime-strftime
fix for datetime.strftime
2022-10-07 21:38:59 +00:00
burnettk
5f708fe41d one has_permission test passes. w/ mike 2022-10-07 17:10:22 -04:00
burnettk
7577b5619e rename grant to permit and work on test. w/ mike 2022-10-07 16:40:22 -04:00
burnettk
9bcd5a73a2 refactor get_user_info_from_id_token into authn service. w/ mike 2022-10-07 16:25:37 -04:00
burnettk
37441b8bef add crud perms, allow getting principal from user, start actual permissions test 2022-10-07 16:14:14 -04:00
Elizabeth Esswein
1a3fde9401 fix for datetime.strftime 2022-10-07 15:20:38 -04:00
burnettk
611632388d rename function to make sense 2022-10-06 18:50:09 -04:00
burnettk
138799941d fully working 2022-10-06 18:44:18 -04:00