Commit Graph

52 Commits

Author SHA1 Message Date
jasquat c68b85a9c2 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 dd8630067c some cypress tests w/ burnettk 2022-12-27 15:42:22 -05:00
jasquat c999edeba0 added ability to view data objects from the process instance show page w/ burnettk 2022-12-27 11:45:42 -05:00
burnettk 30e0166733 dev permissions copied from terraform deployed and terraform deployed now tiny, minor fixes 2022-12-23 23:39:48 -05:00
burnettk 62ce03cb28 fix flask bpmn poetry lock and change admin email to spiffworkflow.org 2022-12-23 12:18:15 -05:00
burnettk 35a0e9b642 fix qa1 and add script to get perms 2022-12-22 21:29:12 -05:00
jasquat b51f9ba5a1 merged in main and resolved conflicts w/ burnettk 2022-12-20 15:06:34 -05:00
jasquat cbb22f13ae set the auth header when calling git commit w/ burnettk 2022-12-19 11:15:05 -05:00
Dan 7ae5363636 Merge branch 'feature/better_unit_tests' into feature/bpmn_user_permissions 2022-12-15 15:01:59 -05:00
Dan 6ca754f8a4 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 5fd6992fe6 commit and push to github on all changes to bpmn dir w/ burnettk cullerton 2022-12-15 12:52:53 -05:00
Dan 1e71892999 Merge remote-tracking branch 'origin/unit_test_404' into feature/bpmn_user_permissions 2022-12-15 07:19:19 -05:00
burnettk 08b30b4cb8 make replacing keycloak more robust, as it now works when the container is running 2022-12-14 21:29:46 -05:00
jasquat 7cfc08d620 some fixes for ci w/ burnettk 2022-12-14 17:09:43 -05:00
Dan 552229110c 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 62814da9a6 added git creds for pushing on publish w/ burnettk cullerton 2022-12-08 16:39:23 -05:00
jasquat ab430b5843 pyl passes 2022-12-08 13:47:30 -05:00
jasquat 17f0d6a266 added frontend url as post redirect url in keycloak w/ burnettk 2022-12-07 15:11:58 -05:00
Dan 88a94ec6da running py_pl -- mainly reordering imports. 2022-12-05 12:29:19 -05:00
burnettk 8f4a0d42b8 make sasha, harmeet, manuchehr, and admin have desired permissions for demo 2022-11-27 21:07:20 -05:00
burnettk aee973fcb1 upgrade keycloak 2022-11-25 12:49:41 -05:00
burnettk 10d8156972 renames 2022-11-24 12:00:26 -05:00
burnettk b8df21f27d add fin1, lead1, and Tasks actioned by me to Tasks completed by me 2022-11-24 10:38:25 -05:00
jasquat ecf96166b1 created new users for keycloak and fixed some permissions for core user w/ burnettk cullerton 2022-11-22 13:01:08 -05:00
jasquat 67d6a01161 pyl is passing w/ burnettk cullerton 2022-11-18 16:45:44 -05:00
mike cullerton cf09b2258b precommit 2022-11-18 15:50:20 -05:00
mike cullerton 48986e3392 No need for script. 2022-11-18 14:17:31 -05:00
mike cullerton 897615d0fd Rename CAT_JSON_FILE, WF_JSON_FILE, add_spec, update_spec 2022-11-17 12:08:42 -05:00
burnettk d25c37153a pyl 2022-11-11 11:39:15 -05:00
mike cullerton 9679720b5a Delete groups now checks for running instances in nested models
also, pyl
2022-11-10 16:44:27 -05:00
jbirddog 4a852a5b3b
Move to Python 3.11 (#27) 2022-11-09 13:45:16 -05:00
mike cullerton 94cbf94dff 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 6399978b23 re-order imports the way backend always used to 2022-10-31 09:25:35 -04:00
burnettk 3bcc7e2705 Merge commit 'e958ec3e79cb99940a38c29eddfc2b385af7d49f' 2022-10-28 13:42:21 -04:00
burnettk f7be875f20 Merge commit 'c24cc56fb00e07f6cfe16840c65471443b120daf' 2022-10-27 22:03:49 -04:00
jasquat e26a91ff8c pyl passes w/ burnettk 2022-10-27 15:38:04 -04:00
jasquat d063d928ac avoid sending two errors to sentry w/ burnettk 2022-10-27 15:33:59 -04:00
jasquat c609604f56 Merge commit 'e228ab4b80138b3e943b11774c1fd47957ea7562' 2022-10-25 16:55:11 -04:00
burnettk d817c9be79 Merge commit '7026fe1f779051f6eb99b872bcd45b14c0cbe88f' 2022-10-24 17:53:02 -04:00
burnettk 7822d54cf8 Merge commit '9a1e33696a744527a18dbec667140edb4038ac94' 2022-10-21 17:51:39 -04:00
jasquat a55337102a resolved merge conflicts in backend w/ burnettk 2022-10-21 10:38:13 -04:00
burnettk 338c40ae48 Merge commit '4a48d9cccd1ca8619b3dbef3c10bcce667c9d9e0' 2022-10-20 16:00:12 -04:00
jasquat 6789a81f2c Merge commit '81746ee508f6ab0ffe757856d9a3d5d855db2560' 2022-10-19 16:16:50 -04:00
burnettk c3a53c294e Merge commit 'aa22f4b397a899fa06d06c2e9127ca98d9eb909a' 2022-10-18 10:22:31 -04:00
burnettk 37d1fa831a Merge commit '4f0f5b1ece069ec56f8eb4154d61334a321749a1' 2022-10-18 07:09:34 -04:00
burnettk 0c68b42229 Merge commit 'b4975660431c275ce736e0431b98c39548200af1' 2022-10-17 21:35:30 -04:00
burnettk ade7b57546 Merge commit 'c9bd62250452403550ae1bf1d27547d4796dd316' 2022-10-17 17:36:41 -04:00
burnettk aaec9026e0 Merge commit '9be0517531543655a35023af17b76dbb41eab93e' 2022-10-17 17:09:47 -04:00
burnettk b897a06fe1 Merge commit 'bee232a55a82054e629f48f0333495b61a7da7d1' 2022-10-17 10:20:35 -04:00
burnettk 697aac43d4 Merge commit '71e189afbc127b574cca8d02fc31b2e65aff0d52' 2022-10-16 22:32:16 -04:00