RE: user control - permissions - roles...

2004-05-22 Thread Sandy Clark
I  tend to use a lock and key approach.   3 tables. Items are locked and a user must have the appropriate key to use the system. Profile privileges profile_privileges Profile has profile_id and name in it Privileges is usually a privilege name and id profile_privileges then has priv_id, prof

RE: user control - permissions - roles...

2004-05-21 Thread Mike Kear
[Original message]--- From: Nick Han [mailto:[EMAIL PROTECTED] Sent: Saturday, 22 May 2004 6:51 AM <<< roles-based.  Problem with relying on roles is that when you need to allow another role to insert or update, you have to go through the templates where  inserts or updates are ref

RE: user control - permissions - roles...

2004-05-21 Thread Mike Kear
[Original message]--- From: Nick Han [mailto:[EMAIL PROTECTED] Sent: Saturday, 22 May 2004 6:51 AM <<< roles-based.  Problem with relying on roles is that when you need to allow another role to insert or update, you have to go through the templates where inserts or updates are ref

Re: user control - permissions - roles...

2004-05-21 Thread Jim
CT> i'm looking for any example how to create an user control with roles CT> permissions... like Administrator is God, Managers could insert and CT> change, SK8er Boy could only view certain aspects from appl Hal Helms has a good technique here: http://halhelms.com/writings/ProposedSecurityMo

RE: user control - permissions - roles...

2004-05-21 Thread Burns, John D
pectrum WebDesign [mailto:[EMAIL PROTECTED] Sent: Friday, May 21, 2004 4:41 PM To: CF-Talk Subject: RE: user control - permissions - roles... Thanx John but using your suggestion maybe our code will become very hard to maintain... Look this: Click here to edit this record Click here to delete th

Re: user control - permissions - roles...

2004-05-21 Thread Nick Han
I would recommend using permission objects-base framework over roles-based.  Problem with relying on roles is that when you need to allow another role to insert or update, you have to go through the templates where  inserts or updates are referenced and change the code.  Very inflexible.  But if yo

RE: user control - permissions - roles...

2004-05-21 Thread Spectrum WebDesign
t;[EMAIL PROTECTED]> Date: Fri, 21 May 2004 16:07:22 -0400 To: CF-Talk <[EMAIL PROTECTED]> Subject: RE: user control - permissions - roles... The body of your email message is over 100 lines. Unless you are a major writer, your probably adding a lot of the previous replies. Please trim your

RE: user control - permissions - roles...

2004-05-21 Thread Burns, John D
The body of your email message is over 100 lines. Unless you are a major writer, your probably adding a lot of the previous replies. Please trim your posts when replying. Thank you. isn't flexible enough for me. You have limited control over your querying of that data...only the functions

RE: user control - permissions - roles...

2004-05-21 Thread Burns, John D
f they have a specific role to let them do this one thing. John -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Friday, May 21, 2004 3:47 PM To: CF-Talk Subject: RE: user control - permissions - roles... heck. what am I thinking? isnt there a isUserInRole() function in

RE: user control - permissions - roles...

2004-05-21 Thread Tony Weeg
PROTECTED] Sent: Friday, May 21, 2004 3:43 PM To: CF-Talk Subject: RE: user control - permissions - roles... its up to you, really. I guess you could cfcase/cfswitch it, as well. tw -Original Message- From: Spectrum WebDesign [mailto:[EMAIL PROTECTED] Sent: Friday, May 21, 2004 3:42

RE: user control - permissions - roles...

2004-05-21 Thread Tony Weeg
its up to you, really. I guess you could cfcase/cfswitch it, as well. tw -Original Message- From: Spectrum WebDesign [mailto:[EMAIL PROTECTED] Sent: Friday, May 21, 2004 3:42 PM To: CF-Talk Subject: RE: user control - permissions - roles... Thanx good... great job... but the

RE: user control - permissions - roles...

2004-05-21 Thread Spectrum WebDesign
Thanx good... great job... but the thousands cfif's still need? Thanx for your time. - Original Message - From: "Tony Weeg" <[EMAIL PROTECTED]> Date: Fri, 21 May 2004 15:30:10 -0400 To: CF-Talk <[EMAIL PROTECTED]> Subject: RE: user control - permissions - roles

RE: user control - permissions - roles...

2004-05-21 Thread Tony Weeg
e a god or demi god You are here, because you are a demi-god, god, or peon anyway, you get the point. :) tony -Original Message- From: Spectrum WebDesign [mailto:[EMAIL PROTECTED] Sent: Friday, May 21, 2004 3:19 PM To: CF-Talk Subject: user control - permissions - roles... H

user control - permissions - roles...

2004-05-21 Thread Spectrum WebDesign
Hi all i'm looking for any example how to create an user control with roles permissions... like Administrator is God, Managers could insert and change, SK8er Boy could only view certain aspects from appl Please do you have any example? Thanx in advance. -- __