[Zope-PAS] PAS / ZODBRoleManager / arrow images

Jens Vagelpohl jens at dataflake.org
Fri Aug 20 15:35:38 EDT 2004


Hi Willi,

Could you add this into the PAS bug collector here:

http://zope.org/Members/urbanape/PluggableAuthService/Collector/

You have the honor to file the first issue :)

jens


On Aug 19, 2004, at 15:50, Willi Langenberger wrote:

> Hi Zac!
>
>
> The ZODBRoleManager uses the arrow gifs (via two_lists.zpt) in its
> "manage_roles / Assigment" page. But the gifs arent loaded into the
> product.
>
> I attached a small patch that makes these gifs available for all
> objects under the PAS folder (the way that PluginRegistry does it).
>
>
> \wlang{}
>
> -- 
> Willi.Langenberger at wu-wien.ac.at                Fax: +43/1/31336/9207
> Zentrum fuer Informatikdienste, Wirtschaftsuniversitaet Wien, Austria
>
> -----included file follows-----
>
> $ diff -u PluggableAuthService.py.2004-08-19 PluggableAuthService.py
> --- PluggableAuthService.py.2004-08-19  2004-07-31 23:08:22.000000000 
> +0200
> +++ PluggableAuthService.py     2004-08-19 15:04:04.000000000 +0200
> @@ -27,6 +27,8 @@
>  from AccessControl.User import nobody
>  from AccessControl.SpecialUsers import emergency_user
>
> +from App.ImageFile import ImageFile
> +
>  from zExceptions import Unauthorized
>  from Persistence import PersistentMapping
>  from OFS.Folder import Folder
> @@ -161,6 +163,15 @@
>      _nobody = nobody
>
>      maxlistusers = -1   # Don't allow local role form to try to list 
> us!
> +
> +    #
> +    #   ZMI
> +    #
> +    arrow_right_gif = ImageFile( 'www/arrow-right.gif', globals() )
> +    arrow_left_gif = ImageFile( 'www/arrow-left.gif', globals() )
> +    arrow_up_gif = ImageFile( 'www/arrow-up.gif', globals() )
> +    arrow_down_gif = ImageFile( 'www/arrow-down.gif', globals() )
> +
>
>      def getId( self ):
>
> _______________________________________________
> Zope-PAS mailing list
> Zope-PAS at zope.org
> http://mail.zope.org/mailman/listinfo/zope-pas



More information about the Zope-PAS mailing list