Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Roles and Permissions without Transfer
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Bill Tindal  
View profile  
 More options Nov 5, 7:34 pm
From: Bill Tindal <malp...@gmail.com>
Date: Fri, 6 Nov 2009 11:34:25 +1100
Local: Thurs, Nov 5 2009 7:34 pm
Subject: Roles and Permissions without Transfer
I'm working on setting up roles and permissions in my application.

I do not use Transfer and as most examples rely on the 'ORM'
functionality to attach roles and permissions to a user identity I'm
wondering if there are any examples out there of other ways to do it?

cheers,

--
Bill Tindal

web :: http://www.fantasysportsstar.com
skype :: dbloh7
email :: malp...@gmail.com


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Quackenbush  
View profile  
 More options Nov 5, 7:53 pm
From: Matt Quackenbush <quackfu...@gmail.com>
Date: Thu, 5 Nov 2009 18:53:56 -0600
Local: Thurs, Nov 5 2009 7:53 pm
Subject: Re: [coldbox:3487] Roles and Permissions without Transfer

I'm not sure what examples you're referring to, but the basic premise is the
same whether you use an ORM or not.

1) You have a User object that represents the requesting user

2) You have a Security Interceptor that fires and checks to see if the event
should be restricted based upon security rules

3) If 'yes' to #2, you have a Security Service (or some such object) that
checks the requesting User's credentials against the database and the
security rule(s) in place.  If the User is authorized the request proceeds
as normal.  If not, the request is redirected to your login event or error
event or whatever event you have established in the configs.

HTH


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bill Tindal  
View profile  
 More options Nov 5, 8:10 pm
From: Bill Tindal <malp...@gmail.com>
Date: Fri, 6 Nov 2009 12:10:12 +1100
Local: Thurs, Nov 5 2009 8:10 pm
Subject: Re: [coldbox:3488] Re: Roles and Permissions without Transfer
Thanks for replying Matt.

I'm using a security interceptor and have authentication working fine.
My question is around authorization and NOT going back and forth to
the database to those checks.

I perhaps didn't explain my question well enough. I'm interested in
seeing examples of how others are storing the roles and permissions
for an authenticated user and THEN subsequently checking
authorization.

For example in most Transfer based applications, the user object has
the roles and permissions attached.

--
Bill Tindal

web :: http://www.fantasysportsstar.com
skype :: dbloh7
email :: malp...@gmail.com


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sana  
View profile  
 More options Nov 5, 8:16 pm
From: Sana <sanaulla...@gmail.com>
Date: Thu, 5 Nov 2009 17:16:59 -0800 (PST)
Local: Thurs, Nov 5 2009 8:16 pm
Subject: Re: Roles and Permissions without Transfer
Hi Bill Tindal,

Coldbox have sample security application with transfer.

Check coldbox samples  "securitysample"
http://www.coldboxframework.com/index.cfm/download/beta

Thanks

On Nov 6, 1:10 am, Bill Tindal <malp...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Quackenbush  
View profile  
 More options Nov 5, 8:43 pm
From: Matt Quackenbush <quackfu...@gmail.com>
Date: Thu, 5 Nov 2009 19:43:58 -0600
Local: Thurs, Nov 5 2009 8:43 pm
Subject: Re: [coldbox:3489] Re: Roles and Permissions without Transfer

Correct.  And that was the point in my reply: whether or not you use an ORM,
the process is essentially identical.  An ORM simply has those methods
already built into the object for you.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google