Help with accessing system
I need some advice on implementing an "accessing" system. I have already implemented a few systems that now require some sort of advance accessing mechanism. I say advance because some parts of the systems that I have written are accessible by all, and some other parts should be accessible by managers, and still some other parts accessible by even fewer people. Not only that, I am also required to determine the identity of the user (not very challenging here), but to display the methods (links, buttons, ...) that the user with his/her access level can use and click on. I am hoping for some suggestions. All comments welcomed. Thanks in advance -r
Re: Help with accessing system
Hi Rasoul, You may want to try Metadot for a framework that takes care of all that for you. Metadot is a GPL'd mod_perl application that provides user management, content management and access control all in one package. It provides an API that allows for the creation of pluggable apps that take advantage of said infrastructure, so you can focus on developing the particularities of your app and not so much on infrastructure. All infrastructure is accesible from a web browser. The permissions system, for instance provides a GUI that allows to attach permissions and ACLs (access control lists) to individual units of content for groups and for individual users. (ie. you can specify separate permissions for the different operations of your unit of content. eg. a 'Poll' unit of content can be set to grant voting rights to the members of group X, edit rights to 'John' and 'View Results' to the members of group Y. Metadot is available from http://www.metadot.com or from http://sourceforge.net/projects/metadot. Regards, Claudio Garcia Rasoul Hajikhani wrote: > I need some advice on implementing an "accessing" system. I have already > implemented a few systems that now require some sort of advance > accessing mechanism. I say advance because some parts of the systems > that I have written are accessible by all, and some other parts should > be accessible by managers, and still some other parts accessible by even > fewer people. Not only that, I am also required to determine the > identity of the user (not very challenging here), but to display the > methods (links, buttons, ...) that the user with his/her access level > can use and click on. I am hoping for some suggestions. All comments > welcomed. > Thanks in advance > -r
perl timestamps
i didn't run into this until munging code via mod_perl and postgresql, so i figured this was a good place to ask a perl-generic question--if not, please point the way: print scalar localtime -123456789; "Tue Feb 1 20:26:51 1966" print scalar localtime -1234567890; "Mon Nov 17 18:28:30 1930" print scalar localtime -21; "Tue Jun 16 04:40:00 1903" so since linux (debian potato) can grok timestamps before 1970 (as negative values, which makes quite some sense) then does it not make sense for Time::Local to allow Time::Local::timelocal(0,0,0,7,11,1941) # 7 dec '41 or Time::Local::timelocal(0,0,0,30,9,1929) # 30 oct '29 ? or, what alternative is there (aside from munging the Time::Local code itself)? -- [EMAIL PROTECTED] http://sourceforge.net/projects/newbiedoc -- we need your brain! http://www.dontUthink.com/ -- your brain needs us!
Re: perl timestamps
-- will trillich <[EMAIL PROTECTED]> > or, what alternative is there (aside from munging the > Time::Local code itself)? > Date::Manip -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647 +1 800 762 1582