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.
This commit is contained in:
Colin Kuskie 2007-01-26 05:45:56 +00:00
parent ae2c99beb5
commit 0eba64bc52
4 changed files with 17 additions and 4 deletions

View file

@ -3,11 +3,12 @@
- Added a attachment_thumbnail option to the CS RSS feed.
- fix: No closure
- fix: content in packages made from page layout don't include content
- No Reports In/Out Board (perlDreamer Consulting, LLC)
- fix: No Reports In/Out Board (perlDreamer Consulting, LLC)
- fix: The 7.2.3-7.3.0 upgrade will no longer orphan EventsCalendars
and Events on the clipboard.
- fix: The upgrade script will remove any orphaned EventsCalendars and
Events.
- fix: Media Folder (perlDreamer Consulting, LLC)
7.3.7