Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
borderColorgreen
borderWidth1
titleBGColor#ddffcc
borderStylesolid
titleDefinition
Bean Shell Permission allows one to write its own custom Java coding to determine permission.
NameDescription
Plugin NameBean Shell Permission
LabelBean Shell Script
Applicable for
  • Userview
  • Userview Category
  • Form
  • Form Section
  • File Upload
  • Image Upload
Availability
  • Joget Workflow v5 Community Edition
  • Joget Workflow v5 Enterprise Edition

...

Code Block
titleSample Usage
System.out.println( user.getFirstName() ); //will print "Admin"
System.out.println( requestParams.get("appId") ); //will print "hr_expense";
 
if (user.getFirstName().equalsIgnoreCase("Admin")) {
	return true;
} else {
	return false;
}