CTX_Base :: IsPermitted - Check access permission
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 is called internally before executing an action or function. The function may also be called by the application in order to check, whether the action is allowed.
When being called but not implemented, the function returns -1.
When the context handle does not refer to a valid context instance the function throws an exception.
Return value: Return code from main function ( int )

