Title: cf_secure

I'm deploying a security model on an application using Hal's cf_secure tag. I'm just trying it out right now, and can't seem to get it to work. I've set up this simple example just to get started. It should execute the code based on the given permissions, but for some reason it doesn't. Could someone take a quick look:


<!--- this code is included from my fbx_settings file in the CMS_WORKFLOW circuit. request.permissions is parameterized in the root fbx_settings  --->

<cfscript>
        request.permissions.cms_workflow = structNew();
        request.permissions.cms_workflow.tasksListAll = 1;
</cfscript>

<cfset SuperAdminGroup = request.permissions.cms_workflow.tasksListAll>

<cfset request.currentUser.permissions = SuperAdminGroup>



<!--- this is the code inside of my fbx_switch --->

<cfcase value="tasksListAll">
        <cf_secure userPermissions="#request.currentUser.permissions#"  requiredPermissions="#request.permissions.cms_workflow.tasksListAll#" model="bit">

                <!---include fuses here --->
        </cf_secure>
</cfcase>



Thanks for your help, Adam.

==^================================================================
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9
Or send an email to: [EMAIL PROTECTED]

T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================

Reply via email to