CTX_Base :: IsPermitted - Check access permission
The function returns, whether the application is allowed to call the action passed in sActionName ( 1 ) or not ( 0 ). The function is called internally before executing an action or function.
In order to perform permission checks by the application, the permitted() function has to be overloaded in a user specific context class. When not being overloaded, the function call is passed to the database or project context adding the context type name, i.e. one may perform permission checks in database and/or project context completely instead in each context class separately.
The function may also be called by the application in order to check, whether the action is allowed.
When the context handle does not refer to a valid context instance the function throws an exception.