Yes, however you will need to validate permissions when needed Ex: <CFIF ListFind(Session.companyAccess,thisCompanyID)> ... GOOD <CFELSE> ... BAD </CFIF>
On Mon, Sep 28, 2009 at 7:14 AM, Damo Drumm <damien.dr...@quinn-group.com>wrote: > > Thanks, The first option will suit me > so if i set up a field in My Users table called CompanyAccess, > then followed by the correct code it will be able to pick out wheather or > not I can access it depending which numbers I have entered in my > CompanyAccess field > > >Depending on how you have your validation structured for permissions, an > >idea would be: > > > >Session.CompanyAccess = '1,2,5,6' > > > >Then you can validate it when needed. > > > >Now if you are going further to set permissions such as CRUD: > > > >Session.CompanyAccess.Permissions_1 = "C,R,U,D" > >Session.CompanyAccess.Permissions_2 = "R" > >Session.CompanyAccess.Permissions_3 = "C,R,U" > > > >(CRUD = Create, Read, Update, Delete) > > > > > > > > > >On Mon, Sep 28, 2009 at 6:01 AM, Damo Drumm <damien.dr...@quinn-group.com > >wrote: > > > >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326695 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4