Re: [Catalyst] New Apress book shipping now from Amazon.com

2009-07-09 Thread Chris
The ebook is already available from APress. Got my copy last night. - Chris ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co

Re: [Catalyst] "Dynamic" authorization

2009-07-09 Thread Gunnar Strand
Tomas Doran skrev: > Gunnar Strand wrote: >> The table would then be consulted whenever a resource is accessed, >> and the lookup would be put in a central place, if possible. I've >> implemented a ":Restricted" action which handles authentication, and >> that is where I would try to add the au

Re: [Catalyst] How to do pass-through login?

2009-07-09 Thread J. Shirley
On Thu, Jul 9, 2009 at 7:57 AM, Nate wrote: > On Thu, Jul 9, 2009 at 5:03 AM, Gunnar Strand > wrote: > > > > Hi, > > > > I am looking for a way to send users to the login screen if they are > > trying to access a restricted path, and if the login is valid, the > > original request should just con

Re: [Catalyst] How to do pass-through login?

2009-07-09 Thread Nate
On Thu, Jul 9, 2009 at 5:03 AM, Gunnar Strand wrote: > > Hi, > > I am looking for a way to send users to the login screen if they are > trying to access a restricted path, and if the login is valid, the > original request should just continue like this: A [rather long while ago] I rolled my own us

Re: [Catalyst] "Dynamic" authorization

2009-07-09 Thread Tomas Doran
Gunnar Strand wrote: The table would then be consulted whenever a resource is accessed, and the lookup would be put in a central place, if possible. I've implemented a ":Restricted" action which handles authentication, and that is where I would try to add the authorization as well. One of the

Re: [Catalyst] New Apress book shipping now from Amazon.com

2009-07-09 Thread Kieren Diment
On 09/07/2009, at 9:08 PM, Tomas Doran wrote: Thomas L. Shinnick wrote: Anybody going to have one of those "link to Amazon from here and we'll get a donation" links on their web page. (hint hint) Hmm, http://books.perl.org/ should, but doesn't...? (I'll wait until tomorrow before ordering

Re: [Catalyst] New Apress book shipping now from Amazon.com

2009-07-09 Thread Tomas Doran
Thomas L. Shinnick wrote: Anybody going to have one of those "link to Amazon from here and we'll get a donation" links on their web page. (hint hint) Hmm, http://books.perl.org/ should, but doesn't...? (I'll wait until tomorrow before ordering) http://www.enlightenedperl.org/ Cheers t0m

Re: [Catalyst] How to do pass-through login?

2009-07-09 Thread Zbigniew Lukasiak
On Thu, Jul 9, 2009 at 11:49 AM, Zbigniew Lukasiak wrote: > On Thu, Jul 9, 2009 at 11:03 AM, Gunnar Strand wrote: >> >> Hi, >> >> I am looking for a way to send users to the login screen if they are >> trying to access a restricted path, and if the login is valid, the >> original request should jus

Re: [Catalyst] How to do pass-through login?

2009-07-09 Thread Zbigniew Lukasiak
On Thu, Jul 9, 2009 at 11:03 AM, Gunnar Strand wrote: > > Hi, > > I am looking for a way to send users to the login screen if they are > trying to access a restricted path, and if the login is valid, the > original request should just continue like this: > > 1. myapp <- GET /member/only > 2. myapp

[Catalyst] How to do pass-through login?

2009-07-09 Thread Gunnar Strand
Hi, I am looking for a way to send users to the login screen if they are trying to access a restricted path, and if the login is valid, the original request should just continue like this: 1. myapp <- GET /member/only 2. myapp -> /login_form 3. myapp <- POST /login 4. myapp -> /member/only I

[Catalyst] "Dynamic" authorization

2009-07-09 Thread Gunnar Strand
Hi, Most of the authorization schemes appear to aim to allow authorization based on "type", so that a certain group of users are allowed to CRUD a specific type of resource, eg. Albums or Artists etc. If a user has access to "albums/update" then the user can change any album. I have looked at