171 Commits

Author SHA1 Message Date
jasquat
f3e0e1956a pyl 2023-01-12 08:12:16 -05:00
jasquat
2630dbfb45 use the cookie from the frontend w/ burnettk 2023-01-11 17:27:12 -05:00
jasquat
8ab5ad7074 this can run on localhost with cookies w/ burnettk 2023-01-11 16:11:21 -05:00
jasquat
b9612f2d30 debugging cookies w/ burnettk 2023-01-11 14:52:12 -05:00
mike cullerton
8aff86a53c Merge branch 'main' into feature/waku-fault-message 2023-01-10 08:47:31 -05:00
mike cullerton
31b99c9a13 Work on System Notification handler 2023-01-10 08:44:53 -05:00
jasquat
5f30564c85 basic support to find a process instance by id w/ burnettk 2023-01-05 14:59:59 -05:00
burnettk
918057e489 upgrade black, give it the preview flag, and let it rip on long strings 2022-12-30 23:08:00 -05:00
jasquat
0af82d137d added all users to waiting for column on task list tables w/ burnettk 2022-12-30 12:30:23 -05:00
jasquat
dd8630067c some cypress tests w/ burnettk 2022-12-27 15:42:22 -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
0948ee2c88 link to correct instances page, fix fin users, ignore coverage files 2022-12-23 20:18:08 -05:00
burnettk
54039bc89a use spiffworkflow.org for admin and other minor permissions tweaks 2022-12-23 12:25:18 -05:00
burnettk
35a0e9b642 fix qa1 and add script to get perms 2022-12-22 21:29:12 -05:00
burnettk
0c5e4500c1 lint and regen schema 2022-12-22 21:15:10 -05:00
burnettk
790a2bfc1f add qa1 env 2022-12-22 17:21:45 -05:00
jasquat
960a8bdf6b updated permission yamls to have email addresses and look more the same w/ burnettk 2022-12-22 16:55:19 -05:00
jasquat
8816f43b5e 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
f7a60e0dfe fixed slashes to colons in permission macros w/ burnettk 2022-12-22 10:34:19 -05:00
jasquat
b2885159bd pyl 2022-12-22 09:59:55 -05:00
jasquat
6171eef87b added method to add permissions based on macros w/ burnettk 2022-12-21 17:14:11 -05:00
jasquat
36c395e074 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
fcc79e639a added permission to run privileged scripts w/ burnettk 2022-12-21 11:24:38 -05:00
jasquat
b51f9ba5a1 merged in main and resolved conflicts w/ burnettk 2022-12-20 15:06:34 -05:00
jasquat
62231ec7fc added correct process instance permissions w/ burnettk 2022-12-19 16:39:35 -05:00
jasquat
e938d81366 created process instance list and show pages to handle all and for-me w/ burnettk 2022-12-19 16:16:27 -05:00
jasquat
898de1cc23 give everybody crud for reports w/ burnettk 2022-12-19 14:47:01 -05:00
Dan
0a32c57e45 Merge remote-tracking branch 'origin/main' into feature/bpmn_user_permissions 2022-12-19 10:05:47 -05:00
jasquat
1fd3cfd537 fixed permissions w/ burnettk 2022-12-16 15:31:05 -05:00
Dan
55bac8eb27 Merge remote-tracking branch 'origin/main' into feature/bpmn_user_permissions 2022-12-16 15:25:10 -05:00
Kevin Burnett
482212bf6b
add a test group and put natalia in it 2022-12-16 12:01:57 -08:00
jasquat
bd88cd947e merged in main and resolved conflicts w/ burnettk 2022-12-16 13:53:43 -05:00
jasquat
e89a1ef88e added new api endpoint to get task-info so users with access to process instances can see the tasks but not the data 2022-12-16 11:39:07 -05:00
jasquat
ebf0e13c22 fix permissions for core on dev w/ burnettk 2022-12-15 15:55:22 -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
5d692cff46 do not set git branch info on development w/ burnettk cullerton 2022-12-15 13:04:24 -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
jasquat
8e6e90d527 fixed perms for readonly for staging w/ burnettk 2022-12-14 15:03:22 -05:00
jasquat
ab034ca0a0 load the correct perm file on staging w/ burnettk 2022-12-14 14:35:08 -05:00
jasquat
ad83d2125c added permission file for staging w/ burnettk 2022-12-14 11:00:32 -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
ec754cbee7 updated group api so it is not under tasks 2022-12-12 13:19:27 -05:00
jasquat
77aa32646a split group task tables by group and created component for group tables 2022-12-12 12:21:37 -05:00
jasquat
23e8525ca4 pyl w/ burnettk 2022-12-09 17:30:14 -05:00
jasquat
6d9b3c5276 update staging configs to allow env var overrides w/ burnettk 2022-12-09 17:28:57 -05:00
jasquat
6122fb0ae5 added secret verification to webhook endpoint w/ burnettk 2022-12-09 16:51:00 -05:00
jasquat
3e5ed42eae cleaned up the git service and expanded the api git hook w/ burnettk 2022-12-09 15:01:55 -05:00
jasquat
27099a0d8e mypy w/ burnettk cullerton 2022-12-08 17:12:19 -05:00