Has Permission
Checks whether a member has at least one of the requested permission IDs.
This tag is provided by the bundled Permissions Manager add-on (
cartthrob_permissions_manager), not by the Subscriptions tag set directly.
Parameters
permissions (required)
One or more permission IDs (pipe-delimited).
permissions="123|456"
member_id
Member ID to evaluate. Supports CURRENT_USER, {member_id}, and {logged_in_member_id}.
If omitted, the logged-in member is used.
Conditionals
{if no_results}
Rendered when no matching permission records are found.
Example
{exp:cartthrob:has_permission permissions="123|456" member_id="CURRENT_USER"}
<p>Access granted.</p>
{if no_results}
<p>Access denied.</p>
{/if}
{/exp:cartthrob:has_permission}