workflow::case::action::permission_p (public)

 workflow::case::action::permission_p \
    [ -enabled_action_id enabled_action_id ] [ -case_id case_id ] \
    [ -action_id action_id ] [ -user_id user_id ]

Defined in packages/workflow/tcl/case-procs.tcl

Does the user have permission to perform this action. Doesn't check whether the action is enabled.

Switches:
-enabled_action_id (optional)
The enabled action you want to test for permission on.
-case_id (optional)
Deprecated. The ID of the case.
-action_id (optional)
Deprecated. The ID of the action
-user_id (optional)
The user.
Returns:
true or false.
Author:
Lars Pind <lars@collaboraid.biz>

Partial Call Graph (max 5 caller/called nodes):
%3 workflow::case::action::available_p workflow::case::action::available_p (public) workflow::case::action::permission_p workflow::case::action::permission_p workflow::case::action::available_p->workflow::case::action::permission_p workflow::case::action::execute workflow::case::action::execute (public) workflow::case::action::execute->workflow::case::action::permission_p workflow::case::get_available_actions workflow::case::get_available_actions (public, deprecated) workflow::case::get_available_actions->workflow::case::action::permission_p workflow::case::get_available_enabled_action_ids workflow::case::get_available_enabled_action_ids (public) workflow::case::get_available_enabled_action_ids->workflow::case::action::permission_p ad_conn ad_conn (public) workflow::case::action::permission_p->ad_conn db_string db_string (public) workflow::case::action::permission_p->db_string permission::permission_p permission::permission_p (public) workflow::case::action::permission_p->permission::permission_p workflow::action::get_allowed_roles workflow::action::get_allowed_roles (public) workflow::case::action::permission_p->workflow::action::get_allowed_roles workflow::action::get_privileges workflow::action::get_privileges (public) workflow::case::action::permission_p->workflow::action::get_privileges

Testcases:
No testcase defined.
[ show source ]
Show another procedure: