Joget Workflow v4 Training - Module 10 - Participant Mapping and Permission Control
-
Upload
joget-workflow -
Category
Software
-
view
86 -
download
2
Transcript of Joget Workflow v4 Training - Module 10 - Participant Mapping and Permission Control
All Rights Reserved © Joget Inc
Joget Workflow v4
Participant Mapping and Permission Control
http://facebook.com/jogetworkflowhttp://twitter.com/jogetworkflow
Last Revised on March 2015Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Prerequisites
• General understanding of all major Joget components (i.e. Process, Form, List and Userview)
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Content
1. Participant Mapping2. Application Permission Control
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Participant Mapping
• User Mapping Categories– Map to User or Group– Map to Org Chart– Map to Workflow Variable– Map to Plugin
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Participant Mapping for Leave App
All Participants must be mapped
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Workflow Participant Mapping
All users
Applicant’s HOD
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Approver: Performer’s HOD
Approver is Performer’s HOD where the performer executed Previous Activity
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Publish the App
• With the Participant Mapping performed, we are now ready to Publish the App for End Users to continue testing.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Publish the App
• The App must be published first before end users can access it.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Test Run the Workflow Process
• With the participant mapping set, run the process again as the user “Cat”.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Sample Organization Chart
First name is the username, and password is password.
e.g: terry/password
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Did the user get the assignment?
• Check using what you have learned in the previous chapter on who is assigned to the task.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Important Notes
• All participants MUST be mapped.• Do NOT choose activity from the same swim lane as the
participant that is being mapped unless it is intended so.• If NO user is found, it will be defaulted to the current
logged in user.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Chapter 1 Review
We have learnt to:1. Understand various Participant Mapping options
available.2. Understand the important rules in Participant Mapping.3. Able to relate and manage participant mapping with the
administrative process monitoring module.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Chapter 2
Application Permission Control
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Introduction
• Permission Control is used to exert control and manage access to various components in a developed Joget App.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Reviewing various components with potential access control• How would a user access the app?• What can a user do after accessing the app?• List down what the user can explicitly do within the app.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
5 Permission Layers
• Process– Process Start White List
• Form– Form– Form Section
• Userview– Userview– Userview Category
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Process Start White List
• Controls on who can start/run the Process.• Available in each Process
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Form
• Controls on who can see the Form.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Form Section
• Controls on who can see the Form Section.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Userview
• Controls on who can access the Userview.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Userview Category
• Controls on who can see the Userview Category.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Typical Permission Control Precedence
1. Userview (top)2. Userview Category3. Process Start White List4. Form5. Form Section
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Discussion
• With permission control available at the Form level and Form section level, why don’t we have Form Field level permission control? Discuss.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Exercise
• Modify your App in such a way that:-– Anonymous user will not be able to see anything except for the
landing page “Home”.– Only users from the “Managers” group can see the “List All”
menu item.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Module Review
1. Participant Mapping2. Application Permission Control
Joget Inc Internal Use Only