If you want to do this in CF, here's how I do it:

I have user db records, with a child table called groups_users.  A user can
 belong to any number of groups.

For pages, a groups_pages table works the same way.

Some code compares the memberships of the two (a cached query helps a lot h
ere).  If a page and a user both belong to the same group, then the user ca
n see the page.  roles-based permissions (editor, manager, admin etc) decid
e what they can do once they arrive at the page.

---------------------------------------
Matt Robertson    [EMAIL PROTECTED]
MSB Designs, Inc., www.mysecretbase.com
---------------------------------------


---------- Original Message ----------------------------------
from: "Jones, Becky" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
date: Thu, 7 Mar 2002 18:11:50 -0500

i want only users that are apart of an Admin group that i created to be a
ble to access a template i built.  i know that i can use AUTH_USER and sa
y if u are this list of people...you can access the template.  
but is there a way to say if you are apart of this GROUP u can access thi
s template?  
i hope i am being clear.  right not i declare a variable and set it to AU
TH_USER.  but can i set this variable equal to the Admin group somehow?
thanks for your help,
bec.


************************************************* 
This e-mail, including any attachments, is intended for the 
receipt and use by the intended addressee(s), and may contain 
confidential and privileged information. If you are not an intended 
recipient of this e-mail, you are hereby notified that any unauthorized 

______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to