Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: How to implement user levels in web apps?

by rruiz (Monk)
on Sep 05, 2005 at 04:53 UTC ( [id://489139]=note: print w/replies, xml ) Need Help??


in reply to How to implement user levels in web apps?

I use a similar approach to checking the user level. I save it in the user session for future checks, but I do check it from the cgiapp_prerun() method, wich gives me the chance to re-direct the user to the front page, where they are given the options available for they level (or to login in case they are not logged in already).

Also, there is a recent thread in the mailing list where Cees Hek does a RFC for a plugin module. You can watch it here. It's on the planning stage and will have to go first with authentication and then to authorization, so it may take some time to finish, but it looks like a very nice addition to the CGI::Application plugin line, as it will have a clean interface to follow (from the doc in the refered thread in the m/l).

You may want to subscribe to the mailing list to follow up the development of those new plugins.

HTH, God bless you
rruiz

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://489139]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2024-03-28 18:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found