Commit graph

17 commits

Author SHA1 Message Date
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
JT Smith
ef120fb06b Added isVisitor, isAdmin, and isRegistered methods to User object instead
of hard coding checks everywhere with group ids. And updated the code base 
   to match.
2008-09-16 22:32:36 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
Colin Kuskie
0fa154d84f Add a missing use line in Session/Privilege.pm.
Try to completely clean up all session related stuff from each test.
2007-11-02 03:57:00 +00:00
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +00:00
Colin Kuskie
38060cc0cb add another privilege method for handling locked assets 2007-04-27 22:20:27 +00:00
Colin Kuskie
0eba64bc52 Session->Privilege is not design well to work in embedded applications
like the RTE because by default it uses the default user style from settings.
This renders a full page, when we really need a message.

I've added an argument to session->privilege->insufficient to use the
empty style and to use a different message with no embedded macros
to process for logging in.  I tested this on the RTE folder adder and
it works fine.  I duplicated this work in the Image add/edit save routine
as well.

Since privilege->insuffient didn't take arguments before, this preserves
the existing API, which is broken.
2007-01-26 05:45:56 +00:00
Colin Kuskie
37aad09679 Clean up Session::Privilege code.
Add $! to errorHandler message in Session::Icon when toolbar dir cannot be opened.
Change i18n for default toolbar "Default" to be more self explanatory.
2006-10-19 23:19:22 +00:00
JT Smith
7731a32559 fixed some pod errors
removed futile inbox attempt
2006-01-31 23:10:10 +00:00
Colin Kuskie
8639f53783 Missing session variables in Operation subroutines.
Forward port of Form/File,Image big fixes.
2006-01-26 18:07:56 +00:00
Matthew Wilson
4a3121960f removal of dumpSession. 2006-01-26 05:39:16 +00:00
Matthew Wilson
09483e18c5 a ton of $session fixes (thanks to Colin), and a new $session checker, that supposedly, shouldn't be needed now. It can be backed out, however, easily. 2006-01-16 22:45:21 +00:00
JT Smith
b0ffb721b6 more session related bug fixes 2006-01-15 18:34:44 +00:00
Matthew Wilson
3c66a9105f lots of DESTROYs 2006-01-14 22:26:48 +00:00
Colin Kuskie
01d95a265e new i18n api requiring $session 2006-01-12 17:49:20 +00:00
JT Smith
a194408513 changing copyright year 2006-01-09 23:51:04 +00:00
JT Smith
d470a7cdd4 more session related changes 2006-01-09 20:43:02 +00:00
Renamed from lib/WebGUI/Privilege.pm (Browse further)