84 Commits

Author SHA1 Message Date
Dan
40682d0592 Added useMemo to error context
No longer clear errors in the task bar, as that will constantly remove them as soon as they are shown.
2023-01-25 15:09:05 -05:00
burnettk
dd68e7556b Revert "allow updating models on staging for a bit"
This reverts commit aff7c5c9e94d03ffd7ba8449ff7077d0c3b8992c.
2023-01-20 20:47:00 -05:00
burnettk
aff7c5c9e9 allow updating models on staging for a bit 2023-01-20 18:07:29 -05:00
Dan
3c12e8ad35 Lots of adjustments from running pyl
Main change is in the ErrorDisplay.tsx to assure all error information is provided. and index.css to make it "pretty"
2023-01-19 12:36:45 -05:00
Dan
28a28e353b Removing dependency on flask-bpmn and taking it out of SpiffArena
Slightly updating the APIError code for recent updates to SpiffWorkflow's error refactoring.
2023-01-17 12:56:06 -05:00
jasquat
14397099f4 added tasks table to process instance show page w/ burnettk 2023-01-13 14:31:12 -05:00
jasquat
499a9562c3 basic support to find a process instance by id w/ burnettk 2023-01-05 14:59:59 -05:00
jasquat
840d2f0937 added all users to waiting for column on task list tables w/ burnettk 2022-12-30 12:30:23 -05:00
jasquat
3e26226514 some cypress tests w/ burnettk 2022-12-27 15:42:22 -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
c4c373aa03 link to correct instances page, fix fin users, ignore coverage files 2022-12-23 20:18:08 -05:00
burnettk
5f14a3cbbb use spiffworkflow.org for admin and other minor permissions tweaks 2022-12-23 12:25:18 -05:00
burnettk
e9d1ae45e7 fix qa1 and add script to get perms 2022-12-22 21:29:12 -05:00
burnettk
c09ae8f9cb add qa1 env 2022-12-22 17:21:45 -05:00
jasquat
46dbb5e187 updated permission yamls to have email addresses and look more the same w/ burnettk 2022-12-22 16:55:19 -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
ed2a744502 fixed slashes to colons in permission macros w/ burnettk 2022-12-22 10:34:19 -05:00
jasquat
99839a3e1b pyl 2022-12-22 09:59:55 -05:00
jasquat
2f2dc6f98c added method to add permissions based on macros w/ burnettk 2022-12-21 17:14:11 -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
da603ffef7 added permission to run privileged scripts w/ burnettk 2022-12-21 11:24:38 -05:00
jasquat
5a6e181a99 merged in main and resolved conflicts w/ burnettk 2022-12-20 15:06:34 -05:00
jasquat
594e9e7803 added correct process instance permissions w/ burnettk 2022-12-19 16:39:35 -05:00
jasquat
eb98086cb6 created process instance list and show pages to handle all and for-me w/ burnettk 2022-12-19 16:16:27 -05:00
jasquat
c995f1fed2 give everybody crud for reports w/ burnettk 2022-12-19 14:47:01 -05:00
Dan
624811a7c0 Merge remote-tracking branch 'origin/main' into feature/bpmn_user_permissions 2022-12-19 10:05:47 -05:00
jasquat
01472d9848 fixed permissions w/ burnettk 2022-12-16 15:31:05 -05:00
Dan
75bd973ae0 Merge remote-tracking branch 'origin/main' into feature/bpmn_user_permissions 2022-12-16 15:25:10 -05:00
Kevin Burnett
3ed0a9c991 add a test group and put natalia in it 2022-12-16 12:01:57 -08:00
jasquat
bb6e7713f2 merged in main and resolved conflicts w/ burnettk 2022-12-16 13:53:43 -05:00
jasquat
662a1ec5d6 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
e3fe09490b fix permissions for core on dev w/ burnettk 2022-12-15 15:55:22 -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
Dan
6de91d2230 Merge remote-tracking branch 'origin/unit_test_404' into feature/bpmn_user_permissions 2022-12-15 07:19:19 -05:00
jasquat
57e653f5f6 fixed perms for readonly for staging w/ burnettk 2022-12-14 15:03:22 -05:00
jasquat
bd6e1f2ebe added permission file for staging w/ burnettk 2022-12-14 11:00:32 -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
0bbe67971f updated group api so it is not under tasks 2022-12-12 13:19:27 -05:00
jasquat
858bf24edd split group task tables by group and created component for group tables 2022-12-12 12:21:37 -05:00
Dan
bab489fa7b Merge branch 'main' into feature/create_containers 2022-12-06 18:06:09 -05:00
jasquat
2a03b33156 updated terraform permissions to match development better w/ burnettk 2022-12-06 16:20:00 -05:00
jasquat
e889bfc716 more api cleanup w/ burnettk 2022-12-05 16:35:20 -05:00
jasquat
bc7c5920b2 cleaned up more api routes for permissions w/ burnettk 2022-12-05 16:06:08 -05:00
jasquat
8b0717be2d updated tasks endpoint to task-data for easier permission setting w/ burnettk 2022-12-05 14:56:55 -05:00
Dan
1e86345a33 Fixes based off KB's super kind review.
-------
* Remove unnecessary packages from dockerfile for the demo-connect proxy.
* Rename an environment variable that mentioned Status.im in what is now a generic connector.
* Fixed a spelling mistake.
2022-12-05 10:46:26 -05:00
Dan
b9fbedc63c Adding a demo permissions file. 2022-12-01 13:29:57 -05:00
Dan
e8cbe1df84 A little cleanup of the ui
Don't check authorization on static assets
Do not require unique username on user table (uniqueness check is on the service and service id composite.)
2022-12-01 12:12:37 -05:00
Dan
3ade3e5b99 Adding a blueprint for openid - a very lightweight embedded authentication system to make it eaiser to try out SpiffWorkflow when you don't have openID set up with Google etal.
Removing all calls to open id's user_info endpoint - as these are unncessiary.
Adding a users section to the permission files -- so we can handle all user/group/permissions in one file when needed.
There was a very confusing is_admin function on the user model that needed killin.
2022-11-30 11:32:55 -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
burnettk
9938060acc get rid of Project Lead group 2022-11-28 12:03:49 -05:00