diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/config/permissions/local_development.yml b/spiffworkflow-backend/src/spiffworkflow_backend/config/permissions/local_development.yml index 6f47d95d..e13eee62 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/config/permissions/local_development.yml +++ b/spiffworkflow-backend/src/spiffworkflow_backend/config/permissions/local_development.yml @@ -16,13 +16,13 @@ users: preferred_username: dan groups: admin: - users: [admin@spiffworkflow.org, nelson@spiffworkflow.org] + users: [admin@example.com, nelson@example.com] group1: - users: [jason@sartography.com, kevin@sartography.com] + users: [jason@example.com, kevin@example.com] group2: - users: [dan@sartography.com] + users: [dan@example.com] group3: - users: [jon@sartography.com] + users: [jon@example.com] spiff_public: users: [] diff --git a/spiffworkflow-frontend/src/routes/ProcessModelEditDiagram.tsx b/spiffworkflow-frontend/src/routes/ProcessModelEditDiagram.tsx index 7722f658..ad76733d 100644 --- a/spiffworkflow-frontend/src/routes/ProcessModelEditDiagram.tsx +++ b/spiffworkflow-frontend/src/routes/ProcessModelEditDiagram.tsx @@ -31,6 +31,7 @@ import { } from '@carbon/icons-react'; import { gray } from '@carbon/colors'; +import { Can } from '@casl/react'; import Editor, { DiffEditor } from '@monaco-editor/react'; import MDEditor from '@uiw/react-md-editor'; import HttpService from '../services/HttpService'; @@ -1372,14 +1373,16 @@ export default function ProcessModelEditDiagram() { const unsavedChangesMessage = () => { if (diagramHasChanges) { return ( - - Please save to avoid losing your work. - + + + Please save to avoid losing your work. + + ); } return null;