For those Fuseboxers out there - this ones for you.

If I define a permission on a fuseaction i.e.
<fuseaction name="myfuse" permission="admin">

....

How do I reference that permission from w/in the Fuse?

i.e. How can I determine what the permission is for that fuse - how do
I read that it needs 'admin' rights to process.

 

I just started Fuseboxing after 7 years of Cfexperience - shame on me I know
- 

 

I'm wondering if others use this technique or there
is a simpler way out there.

So in the example:
<fuseaction name="myfuse" permission="admin">
...

I can access the permission by the application variable
application.fusebox.circuits.srm.fuseactions["#lis
tgetat(attributes.fuseaction,2,'.')#"].permissions

where 'srm' is my root circuit alias -

 

Anyone have an easier way?

 

 

 

 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212444
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to