March 2017
Beginner
358 pages
9h 51m
English
Here, we see a snippet from a business rule that prevents a database action if the user does not have the admin role:
if (!gs.hasRole('admin')) { current.setAbortAction(true); gs.addErrorMessage('Only Admins can perform this action.'); }
Read now
Unlock full access