Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: How to implement user levels in web apps?

by rruiz (Monk)
on Sep 05, 2005 at 04:53 UTC ( #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

  • Comment on Re: How to implement user levels in web apps?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://489139]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2018-06-22 02:32 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (121 votes). Check out past polls.