100 Commits

Author SHA1 Message Date
Dan
a75a5407ea When loading permissions and the user does not exist, add records to the UserGroupAssignmentWaiting table that can be picked up later.
Request "profile" scope over OpenID so we can get a few more bits of information when avilable.
Add a "clear_perissions" script
Add an "add_permissions" script
Add an "add_permissions" script
When logging in for the first time, check for any awaiting permissions and assign them.
Add "enumerate" as a whitelisted function to React Schema
Add a "display_name" to the user table

Add a test for adding a new permission
Add a test for adding a user to group
Adding a test for deleting all permissions.
Adding a display name for the user table
2022-12-15 14:40:31 -05:00
jasquat
b19825e171 cleaned up more api routes for permissions w/ burnettk 2022-12-05 16:06:08 -05:00
burnettk
bb76eeee5f lint 2022-11-25 00:46:43 -05:00
burnettk
57a720c972 tests passing 2022-11-25 00:08:38 -05:00
burnettk
dc0665c260 gotta fix usage of is_model 2022-11-24 16:28:10 -05:00
burnettk
63b654c229 working on tests 2022-11-24 13:01:53 -05:00
burnettk
875bd1576b remove column 2022-11-24 12:28:53 -05:00
burnettk
aa2333f278 start adding display name and removing garbage 2022-11-24 11:51:31 -05:00
jasquat
acc88b9a9c created new users for keycloak and fixed some permissions for core user w/ burnettk cullerton 2022-11-22 13:01:08 -05:00
jasquat
82388b66e5 pyl is passing w/ burnettk cullerton 2022-11-18 16:45:44 -05:00
mike cullerton
8aa126e750 precommit 2022-11-18 15:50:20 -05:00
mike cullerton
d8898d51e5 Cleanup - renaming frenzy, use os.path.abspath 2022-11-17 16:35:28 -05:00
mike cullerton
eba3c096d7 Rename CAT_JSON_FILE, WF_JSON_FILE, add_spec, update_spec 2022-11-17 12:08:42 -05:00
jasquat
7415710d5a fixed broken test w/ burnettk 2022-11-15 17:49:46 -05:00
Dan
a3dcae016f Merge remote-tracking branch 'origin/main' into feature/call_activity_selection 2022-11-15 09:55:02 -05:00
Dan
b03d531abb Mostly a name change from BpmnProcessIdLookup to SpecReferenceCache. I landed on this unfortunate name because:
1. It's not just processes, it contains the list of all DMN Decisions as well.
2. It is closely linked to the SpecReference object that can be generated by looking through all the Spec files to find the processes and decisions they contain.
3. It is a cache of information, the file system is the source of truth.  Seems likely we will cache more things in the future -- so setting things up this way made sense.
2022-11-14 15:23:37 -05:00
jasquat
822c40525c merged in main and resolved pyl issues w/ burnettk 2022-11-14 12:24:23 -05:00
Dan
b7b6a97df0 work in spiff is approved and merged, updating dependency 2022-11-14 10:40:52 -05:00
Dan
828e41c4d6 Adding a display name to the BPMN Process ID Lookup Table
Removing (very nearly, except for script unit tests) all the XML Parsing we were doing, see related PR on SpiffWorkflow
Moved the Custom Parser into its own file to solve some circular import issues
2022-11-12 12:36:07 -05:00
burnettk
2cb3fb27e2 pyl 2022-11-11 11:39:15 -05:00
mike cullerton
3735b71e06 removed duplicate code 2022-11-11 08:17:50 -05:00
mike cullerton
1e09c95520 renamed and reordered some methods in base_test.py 2022-11-11 08:02:35 -05:00
mike cullerton
450a8d0757 Delete groups now checks for running instances in nested models
also, pyl
2022-11-10 16:44:27 -05:00
jasquat
795df35260 use instance path instead of root_path for nox w/ burnettk 2022-11-09 16:54:14 -05:00
jbirddog
64ac704288 Move to Python 3.11 (#27) 2022-11-09 13:45:16 -05:00
mike cullerton
207de9ab86 Merge branch 'main' into feature/nested-groups
# Conflicts:
#	spiffworkflow-backend/src/spiffworkflow_backend/models/process_model.py
#	spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_processor.py
#	spiffworkflow-backend/tests/spiffworkflow_backend/integration/test_process_api.py
2022-11-07 10:56:37 -05:00
jasquat
b7aee05492 removed tables for file, admin_session, task_event, and data_store w/ burnettk 2022-11-02 11:38:16 -04:00
mike cullerton
440871d579 First stab at nested folders.
Added temp endpoints
Changes to tests and test helpers
2022-11-01 16:48:04 -04:00
burnettk
e0c09896d1 re-order imports the way backend always used to 2022-10-31 09:25:35 -04:00
jasquat
0c11a0b75b pyl passes w/ burnettk 2022-10-27 15:38:04 -04:00
jasquat
49eefc561e some precommit stuff w/ burnettk 2022-10-21 11:00:31 -04:00
jasquat
5128f75243 merged in main and resolved conflicts 2022-10-21 09:32:09 -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
594a32b676 merged in main and resolved conflicts w/ burnettk 2022-10-20 11:27:15 -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
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
jasquat
e4ded8fc05 added method to import permissions from yml file w/ burnettk 2022-10-11 15:18:32 -04:00
jasquat
f652f3e56f Merge remote-tracking branch 'origin/main' into feature/permissions 2022-10-11 10:31:22 -04:00
burnettk
9888bd09ad rename code to error_code 2022-10-11 10:08:05 -04:00
jasquat
e9442cf27a started adding a test for update permission usage 2022-10-11 09:44:32 -04:00
mike cullerton
a328846a8b We call create_principal in create_user 2022-09-22 08:25:48 -04:00
mike cullerton
8efe5bc0b5 Merge branch 'main' into feature/secrets
# Conflicts:
#	migrations/versions/00a59d952198_.py
#	migrations/versions/70d52c39fdda_.py
#	migrations/versions/ab77f4ccb4d6_.py
#	src/spiffworkflow_backend/routes/process_api_blueprint.py
2022-09-19 13:36:21 -04:00
mike cullerton
05903af99b Committing to work on logging 2022-09-16 10:30:04 -04:00