37 Commits

Author SHA1 Message Date
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
b62d9f8867 delete human tasks when process instance is deleted w/ burnettk 2022-12-28 14:02:39 -05:00
burnettk
804d3c1052 trim down granted permissions to just the ones that exist in the API, improve output of permissions 2022-12-23 16:49:15 -05:00
burnettk
5a73ba20c1 lint and regen schema 2022-12-22 21:15:10 -05:00
jasquat
1dd32da9e4 added test to check only privileged users can call refresh_permissions w/ burnettk 2022-12-22 17:12:21 -05:00
jasquat
197a823220 pyl passes w/ burnettk 2022-12-22 16:42:52 -05:00
jasquat
ff61026ff5 pyl w/ burnettk 2022-12-22 12:32:26 -05:00
jasquat
a855df858b added script to get all permissions for the confirmation page when adding permissions from a process model w/ burnettk 2022-12-22 12:20:34 -05:00
jasquat
84bf70e2f2 do not force permissions to use the v1.0 path prefix but it can be used if desired w/ burnettk 2022-12-21 12:13:33 -05:00
jasquat
74eccab994 pyl w/ burnettk 2022-12-21 11:42:45 -05:00
jasquat
da603ffef7 added permission to run privileged scripts w/ burnettk 2022-12-21 11:24:38 -05:00
jasquat
3e4ab0145e pyl fixed w/ burnettk 2022-12-20 16:14:55 -05:00
jasquat
92258c6f9a pyl w/ burnettk 2022-12-20 15:47:30 -05:00
jasquat
5a6e181a99 merged in main and resolved conflicts w/ burnettk 2022-12-20 15:06:34 -05:00
jasquat
2a73e23b3c renamed active task to human task since we are no longer deleting them w/ burnettk 2022-12-19 16:23:02 -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
cee726e8b0 pyl passes 2022-12-08 13:47:30 -05:00
Dan
3a09b45765 running py_pl -- mainly reordering imports. 2022-12-05 12:29:19 -05:00
jasquat
b761f0289d fixed issue ensuring active tasks are up to date w/ burnettk cullerton 2022-11-28 15:47:56 -05:00
jasquat
0eeb096d43 added script to save process instance metadata and fixed permissions issue w/ burnettk cullerton 2022-11-28 15:26:50 -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
jasquat
b9e7b5271e more refactoring for process instance list w/ burnettk 2022-11-14 17:35:04 -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
013489105d fixed failing test 2022-11-01 16:58:53 -04:00
mike cullerton
89d73614af Merge branch 'main' into feature/nested-groups 2022-11-01 16:49:55 -04:00
mike cullerton
4edf96ae76 First stab at nested folders.
Added temp endpoints
Changes to tests and test helpers
2022-11-01 16:48:04 -04:00
jasquat
fe54014107 added script to get the frontend url w/ burnettk 2022-10-31 11:50:14 -04:00
jasquat
35eb15b793 added script to get the group members w/ burnettk 2022-10-31 11:39:54 -04:00
burnettk
79718ad7c4 re-order imports the way backend always used to 2022-10-31 09:25:35 -04:00
jasquat
93526cadfd added script to get the process info and do not set error message when a task fails from the frontend w/ burnettk 2022-10-28 16:46:09 -04:00
jasquat
c63e9cf521 pyl passes w/ burnettk 2022-10-27 15:38:04 -04:00
jasquat
f2aa518830 Merge commit 'b9d7ded29b64c9d3b66ae97e966e019fe0537b62' 2022-10-27 10:50:50 -04:00
mike cullerton
c9b95af89a mypy 2022-10-25 16:47:40 -04:00
mike cullerton
4002ac1a70 Added get_localtime script
Added test for new script, with test process
2022-10-25 15:56:48 -04:00