110 Commits

Author SHA1 Message Date
jasquat
21d32f00be updated get_token to actually work 2023-01-11 10:47:35 -05:00
jasquat
fa3d727b60 added in debug logging for launching call activity editor w/ burnettk 2023-01-09 16:24:36 -05:00
jasquat
83e9a08b90 fix setting the bpmn dir in start scripts w/ burnettk 2023-01-09 14:23:40 -05:00
jasquat
76551f5301 some updates to test w/ burnettk 2023-01-09 10:19:31 -05:00
burnettk
4d0a1abaf0 ensure we are not accidentally using main 2023-01-06 11:08:30 -05:00
jasquat
ee650e6039 added ability to filter process instances by process initiator 2023-01-04 16:11:52 -05:00
burnettk
09e012674a upgrade black, give it the preview flag, and let it rip on long strings 2022-12-30 23:08:00 -05:00
jasquat
76c3f13630 ensure we get logs for both db and backend with docker compose w/ burnettk 2022-12-30 10:06:52 -05:00
jasquat
bca74bc43b 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
3e26226514 some cypress tests w/ burnettk 2022-12-27 15:42:22 -05:00
jasquat
866346f47b added ability to view data objects from the process instance show page w/ burnettk 2022-12-27 11:45:42 -05:00
burnettk
90f578460a dev permissions copied from terraform deployed and terraform deployed now tiny, minor fixes 2022-12-23 23:39:48 -05:00
burnettk
c108cd2bf1 fix flask bpmn poetry lock and change admin email to spiffworkflow.org 2022-12-23 12:18:15 -05:00
burnettk
e9d1ae45e7 fix qa1 and add script to get perms 2022-12-22 21:29:12 -05:00
jasquat
5a6e181a99 merged in main and resolved conflicts w/ burnettk 2022-12-20 15:06:34 -05:00
jasquat
ccac73bb54 set the auth header when calling git commit w/ burnettk 2022-12-19 11:15:05 -05:00
Dan
6f8425a14b Merge branch 'feature/better_unit_tests' into feature/bpmn_user_permissions 2022-12-15 15:01:59 -05:00
Dan
160e19bb8c 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
16eec49ca8 commit and push to github on all changes to bpmn dir w/ burnettk cullerton 2022-12-15 12:52:53 -05:00
Dan
6de91d2230 Merge remote-tracking branch 'origin/unit_test_404' into feature/bpmn_user_permissions 2022-12-15 07:19:19 -05:00
burnettk
52e0036209 make replacing keycloak more robust, as it now works when the container is running 2022-12-14 21:29:46 -05:00
jasquat
1e62a77e81 some fixes for ci w/ burnettk 2022-12-14 17:09:43 -05:00
Dan
4a8b07e98d 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
d50d95a49c added git creds for pushing on publish w/ burnettk cullerton 2022-12-08 16:39:23 -05:00
jasquat
cee726e8b0 pyl passes 2022-12-08 13:47:30 -05:00
jasquat
0fc136a6dd added frontend url as post redirect url in keycloak w/ burnettk 2022-12-07 15:11:58 -05:00
Dan
3a09b45765 running py_pl -- mainly reordering imports. 2022-12-05 12:29:19 -05:00
burnettk
0ae1a5e89e make sasha, harmeet, manuchehr, and admin have desired permissions for demo 2022-11-27 21:07:20 -05:00
burnettk
ab8a6d7719 upgrade keycloak 2022-11-25 12:49:41 -05:00
burnettk
2eb3ef6aa3 renames 2022-11-24 12:00:26 -05:00
burnettk
6643e9b711 add fin1, lead1, and Tasks actioned by me to Tasks completed by me 2022-11-24 10:38:25 -05:00
jasquat
e5e6226bb9 created new users for keycloak and fixed some permissions for core user w/ burnettk cullerton 2022-11-22 13:01:08 -05:00
jasquat
77ff18a85c pyl is passing w/ burnettk cullerton 2022-11-18 16:45:44 -05:00
mike cullerton
576d60e41d precommit 2022-11-18 15:50:20 -05:00
mike cullerton
afc89fc620 No need for script. 2022-11-18 14:17:31 -05:00
mike cullerton
f88f576dcb Rename CAT_JSON_FILE, WF_JSON_FILE, add_spec, update_spec 2022-11-17 12:08:42 -05:00
burnettk
91b69e0ada pyl 2022-11-11 11:39:15 -05:00
mike cullerton
b13bfe0489 Delete groups now checks for running instances in nested models
also, pyl
2022-11-10 16:44:27 -05:00
jbirddog
5b01c50d6a Move to Python 3.11 (#27) 2022-11-09 13:45:16 -05:00
mike cullerton
812029cf9c 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
79718ad7c4 re-order imports the way backend always used to 2022-10-31 09:25:35 -04:00
burnettk
14fe339a53 Merge commit 'e958ec3e79cb99940a38c29eddfc2b385af7d49f' 2022-10-28 13:42:21 -04:00
burnettk
ad8a67de66 Merge commit 'c24cc56fb00e07f6cfe16840c65471443b120daf' 2022-10-27 22:03:49 -04:00
jasquat
c63e9cf521 pyl passes w/ burnettk 2022-10-27 15:38:04 -04:00
jasquat
6b0be70bdb avoid sending two errors to sentry w/ burnettk 2022-10-27 15:33:59 -04:00
jasquat
b6d65fe2f6 Merge commit 'e228ab4b80138b3e943b11774c1fd47957ea7562' 2022-10-25 16:55:11 -04:00
burnettk
af1eb47568 Merge commit '7026fe1f779051f6eb99b872bcd45b14c0cbe88f' 2022-10-24 17:53:02 -04:00
burnettk
50a4c2c2e0 Merge commit '9a1e33696a744527a18dbec667140edb4038ac94' 2022-10-21 17:51:39 -04:00
jasquat
f9a1003a88 resolved merge conflicts in backend w/ burnettk 2022-10-21 10:38:13 -04:00
burnettk
f7557c48e9 Merge commit '4a48d9cccd1ca8619b3dbef3c10bcce667c9d9e0' 2022-10-20 16:00:12 -04:00