Commit Graph

194 Commits

Author SHA1 Message Date
jasquat ac079f8815 added ability to filter process instances by process initiator 2023-01-04 16:11:52 -05:00
burnettk 8de7d13780 upgrade black, give it the preview flag, and let it rip on long strings 2022-12-30 23:08:00 -05:00
jasquat dab22e0ec1 ensure we get logs for both db and backend with docker compose w/ burnettk 2022-12-30 10:06:52 -05:00
jasquat 0cc6f2c2dc fixed some cypress tests and fixed issue where an invalid date caused the page to constantly reload w/ burnettk 2022-12-28 12:27:37 -05:00
jasquat b33947bdaf some cypress tests w/ burnettk 2022-12-27 15:42:22 -05:00
jasquat bf1ecb87d1 added ability to view data objects from the process instance show page w/ burnettk 2022-12-27 11:45:42 -05:00
burnettk 2ba416f584 dev permissions copied from terraform deployed and terraform deployed now tiny, minor fixes 2022-12-23 23:39:48 -05:00
burnettk fbfc0f1180 fix flask bpmn poetry lock and change admin email to spiffworkflow.org 2022-12-23 12:18:15 -05:00
burnettk cd623fc978 fix qa1 and add script to get perms 2022-12-22 21:29:12 -05:00
jasquat 0f18bb7982 merged in main and resolved conflicts w/ burnettk 2022-12-20 15:06:34 -05:00
jasquat 20f378922e set the auth header when calling git commit w/ burnettk 2022-12-19 11:15:05 -05:00
Dan 3697c86c21 Merge branch 'feature/better_unit_tests' into feature/bpmn_user_permissions 2022-12-15 15:01:59 -05:00
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 e5b0311050 commit and push to github on all changes to bpmn dir w/ burnettk cullerton 2022-12-15 12:52:53 -05:00
Dan 8f233106e1 Merge remote-tracking branch 'origin/unit_test_404' into feature/bpmn_user_permissions 2022-12-15 07:19:19 -05:00
burnettk 6eec41a7b5 make replacing keycloak more robust, as it now works when the container is running 2022-12-14 21:29:46 -05:00
jasquat ec01b27984 some fixes for ci w/ burnettk 2022-12-14 17:09:43 -05:00
Dan a665918335 Removing two fields from user table that were not used (uid, name)
Request email from open id clients, as this would provide a handy way to uniquely reference users when assigning to groups.
During Login do a lookup on email if possible -- so that permissions assignments based on email can be connected when sigining in through openid.
Don't use "open_id" for the service name on user accounts, use the iss string provided through open id,  this will allow us to support more than one open id platform.
Update the KeyCloak configuration so it is able to return email addresses for users -- which will make permission assignment easier in the future.
Removed several unused commands in the user_service class.
2022-12-12 15:43:19 -05:00
jasquat ade7a41e7b added git creds for pushing on publish w/ burnettk cullerton 2022-12-08 16:39:23 -05:00
jasquat 4ce7d67328 pyl passes 2022-12-08 13:47:30 -05:00
jasquat dbaa2c37c1 added frontend url as post redirect url in keycloak w/ burnettk 2022-12-07 15:11:58 -05:00
Dan a7eeaa6d98 running py_pl -- mainly reordering imports. 2022-12-05 12:29:19 -05:00
burnettk 47b551b8a1 make sasha, harmeet, manuchehr, and admin have desired permissions for demo 2022-11-27 21:07:20 -05:00
burnettk dfed48057d upgrade keycloak 2022-11-25 12:49:41 -05:00
burnettk 6081f66379 renames 2022-11-24 12:00:26 -05:00
burnettk a9d5e121b6 add fin1, lead1, and Tasks actioned by me to Tasks completed by me 2022-11-24 10:38:25 -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 3e655885b0 No need for script. 2022-11-18 14:17:31 -05:00
mike cullerton eba3c096d7 Rename CAT_JSON_FILE, WF_JSON_FILE, add_spec, update_spec 2022-11-17 12:08:42 -05:00
burnettk 2cb3fb27e2 pyl 2022-11-11 11:39:15 -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
jbirddog 64ac704288 Move to Python 3.11 (#27) 2022-11-09 13:45:16 -05:00
mike cullerton 729b13881c script to modify all model json files to use full path for model id. Also removes process_group_id 2022-11-08 12:38:51 -05:00
burnettk e0c09896d1 re-order imports the way backend always used to 2022-10-31 09:25:35 -04:00
burnettk 32e0c6c1a1 use script dir so you can run this script from anywhere 2022-10-28 13:41:06 -04:00
burnettk 39c9e87854 templated SPIFF_SUBDOMAIN for keycloak 2022-10-27 22:02:19 -04:00
jasquat 0c11a0b75b pyl passes w/ burnettk 2022-10-27 15:38:04 -04:00
jasquat 9c57a876e5 avoid sending two errors to sentry w/ burnettk 2022-10-27 15:33:59 -04:00
jasquat ba002f8a4b do not preload gunicorn w/ burnettk 2022-10-25 16:52:58 -04:00
jasquat 8516154cf5 pyl now passes w/ burnettk 2022-10-25 16:50:25 -04:00
jasquat dd0566b1ad added script to start scheduler in its own process w/ burnettk danfunk 2022-10-25 16:07:22 -04:00
Dan 7d66f922f2 rename environment variable to something sensible. 2022-10-25 15:43:04 -04:00
burnettk 653a86b1ae update keycloak version and lint 2022-10-24 17:52:48 -04:00
burnettk df1443e375 new keycloak realm json with 30 minute access token lifespan and 1 day refresh token lifespan 2022-10-24 17:37:19 -04:00
jasquat ac31f4bff9 wait longer before importing realms for new keycloak w/ burnettk 2022-10-24 15:47:48 -04:00
burnettk 13855180b2 upgrade keycloak 2022-10-21 17:51:23 -04:00
burnettk 7e1ce35c27 remove task_data column 2022-10-21 09:04:09 -04:00
burnettk 872480dbdc Merge remote-tracking branch 'origin/main' into feature/lib-updates-and-mypy 2022-10-20 17:32:23 -04:00