Commit Graph

44 Commits

Author SHA1 Message Date
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
jasquat df4aba86c0 Merge commit '81746ee508f6ab0ffe757856d9a3d5d855db2560' 2022-10-19 16:16:50 -04:00
burnettk 004378369a Merge commit 'aa22f4b397a899fa06d06c2e9127ca98d9eb909a' 2022-10-18 10:22:31 -04:00
burnettk 37decafb7d Merge commit '4f0f5b1ece069ec56f8eb4154d61334a321749a1' 2022-10-18 07:09:34 -04:00
burnettk 030f315d03 Merge commit 'b4975660431c275ce736e0431b98c39548200af1' 2022-10-17 21:35:30 -04:00
burnettk bf4e933821 Merge commit 'c9bd62250452403550ae1bf1d27547d4796dd316' 2022-10-17 17:36:41 -04:00
burnettk c6b429ea5b Merge commit '9be0517531543655a35023af17b76dbb41eab93e' 2022-10-17 17:09:47 -04:00
burnettk 4aad51f886 Merge commit 'bee232a55a82054e629f48f0333495b61a7da7d1' 2022-10-17 10:20:35 -04:00
burnettk bc7db19a90 Merge commit '71e189afbc127b574cca8d02fc31b2e65aff0d52' 2022-10-16 22:32:16 -04:00
Jon Herron 7ec037bbde Merge main, resolve conflicts 2022-10-12 15:32:33 -04:00
Jon Herron c30d6bbe1e Merge commit '883e65384f1e36a0310f4fdcff57ac486890cd5e' as 'spiffworkflow-backend' 2022-10-12 10:22:22 -04:00