mike cullerton
a2ab420b27
Committing so Jon can view code
2022-10-27 10:41:44 -04:00
Mike Cullerton
4d2ebbe237
Refresh token ( #6 )
...
* Handle refreshed tokens if present
* Small cleanup
* No longer require secrets to be modified by the user that created them
Rename creator_user_id column to user_id
Co-authored-by: Jon Herron <jon.herron@yahoo.com>
Co-authored-by: mike cullerton <michaelc@cullerton.com>
2022-10-25 14:12:32 -04:00
jasquat
afdf81a031
added test to ensure users can update their own task w/ burnettk
2022-10-21 15:19:51 -04:00
burnettk
872480dbdc
Merge remote-tracking branch 'origin/main' into feature/lib-updates-and-mypy
2022-10-20 17:32:23 -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
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
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
6da486fd99
Merge branch 'main' into feature/secrets
2022-10-12 16:57:56 -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
burnettk
fb572c99e8
allow updating primary_file_name and primary_process_id from process model update
2022-10-10 22:18:28 -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
611632388d
rename function to make sense
2022-10-06 18:50:09 -04:00
burnettk
04918e0f41
jam in task data
2022-10-06 18:00:12 -04:00
burnettk
93e6adbc23
work in progress
2022-10-06 17:16:26 -04:00
burnettk
a1f50f09cd
lint
2022-10-06 06:51:19 -04:00
mike cullerton
453c4b1e24
add get and update for allowed process paths
2022-10-05 18:06:33 -04:00
mike cullerton
f3166cc8a8
Merge branch 'main' into feature/secrets
2022-10-04 15:29:33 -04:00
burnettk
5d449fe984
some upgrades while resolving a merge conflict
2022-10-03 13:55:28 -04:00
burnettk
bb2d4d2f1a
bump spiffworkflow and fix lint
2022-10-03 12:29:04 -04:00
Dan
7ef2226dec
Merge remote-tracking branch 'origin/main' into feature/upgrade_spiff_workflow_and_service_task
2022-09-30 13:12:21 -04:00
mike cullerton
ff56ed068d
Use secret key when adding allowed process model
2022-09-30 12:15:04 -04:00
burnettk
8da5746bf6
never return 204, always return json response body
2022-09-29 00:13:30 -04:00
jasquat
f4539d2715
Merge remote-tracking branch 'origin/main' into feature/script-unit-tests
2022-09-28 17:45:38 -04:00
mike cullerton
4731d5e751
pre commit
2022-09-28 16:38:58 -04:00
mike cullerton
b44bd41b86
mypy
2022-09-28 16:36:23 -04:00
mike cullerton
906f4d5346
SecretService.get_secret returns the entire object, not just the value
...
Fixed the model so it also returns the allowed processes
2022-09-28 16:29:55 -04:00
Dan
69d8a8b146
raise an error when a secret is not found - this will help people attempting to debug their service tasks.
2022-09-28 14:44:59 -04:00
mike cullerton
c0512062b5
add secret_list api endpoint
...
pagination for secrets
SecretService.get_secret -> SecretService.get_secret_value
2022-09-28 14:40:24 -04:00
jasquat
6991db63a4
Merge remote-tracking branch 'origin/main' into feature/script-unit-tests
2022-09-28 11:18:30 -04:00
jasquat
d162f0d246
some cleanup and refactoring w/ burnettk
2022-09-27 15:10:32 -04:00
mike cullerton
4b50263db8
mypy and pre commit
2022-09-27 10:57:19 -04:00
mike cullerton
a87a49ae0f
add test for process_instance_show
2022-09-27 10:51:47 -04:00
mike cullerton
78e428feaa
pre commit
2022-09-26 15:13:28 -04:00
mike cullerton
35e26e89fa
mypy and pre commit
2022-09-26 13:54:26 -04:00
mike cullerton
d268e85e1f
First stab
2022-09-26 13:40:09 -04:00
jasquat
ccdeaceda5
add dmn files when processing a call activity w/ burnettk cullerton
2022-09-23 16:12:46 -04:00
jasquat
aea56fc750
allow process_status filter to be a csv string
2022-09-23 14:19:57 -04:00