310 Commits

Author SHA1 Message Date
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
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
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
11f4fd3933 run poet pre to fix lint, and avoid updating flask and Flask-SQLAlchemy to squelch warnings 2022-10-05 20:50:33 -04:00
Elizabeth Esswein
510eec3f6a change script engine to use RestrictedPython 2022-10-05 19:35:59 -04:00
burnettk
9abc356a69 remove null-ls temp file 2022-10-03 20:04:47 -04:00
burnettk
5d449fe984 some upgrades while resolving a merge conflict 2022-10-03 13:55:28 -04:00
burnettk
3ceed74930 Merge remote-tracking branch 'origin/main' into feature/script-unit-test-subprocesses 2022-10-03 12:39:01 -04:00
Kevin Burnett
85ff4f1326
Merge pull request #102 from sartography/feature/upgrade_spiff_workflow_and_service_task
Feature/upgrade spiff workflow and service task
2022-10-03 16:29:15 +00:00
burnettk
bb2d4d2f1a bump spiffworkflow and fix lint 2022-10-03 12:29:04 -04:00
burnettk
633fdc188f clean up after new class based test 2022-10-03 12:22:43 -04:00
burnettk
c567cae994 Merge remote-tracking branch 'origin/main' into feature/script-unit-test-subprocesses 2022-10-03 12:21:25 -04:00
burnettk
ef48e3cf18 handle exceptions 2022-09-30 19:04:46 -04:00
burnettk
cccd523ea3 use _execute and avoid passing an actual task around 2022-09-30 18:35:20 -04:00
burnettk
694eedf87a lint and mypy 2022-09-30 17:38:02 -04:00
Dan
ac999a8e65 Add the ability to call custom built-in functions from within a Python script. With the first real script being a "get_env()" which will return the current environment (ie, 'testing', 'development' etc...) 2022-09-30 16:50:45 -04:00
burnettk
a964fb4ea0 work in progress 2022-09-30 16:46:30 -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
burnettk
ce1e605fb5 lint 2022-09-30 12:53:28 -04:00
burnettk
f5e18f7b5b scaffold of new test 2022-09-30 12:24:22 -04:00
burnettk
e834a54f0d Merge remote-tracking branch 'origin/main' into feature/allow-dot-notation-in-forms 2022-09-29 10:21:47 -04:00
burnettk
e8a34eb830 ran poet pre to delint and added type hints to fix poet mypy 2022-09-29 10:19:31 -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
jasquat
043b64f2d6 add line numbers script unit test result failure w/ burnettk 2022-09-28 15:25:13 -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