Re: [Zope] timezone change and permission problem
>From: Dieter Maurer <[EMAIL PROTECTED]> >Bart Holthuijsen writes: > > When I create / edit a document it says: Content changed, then date / >time > > and GMT+2. >Why are you unhappy with the timezone? Is it not correct? > >Almost surely, Zope will ask the operating system for the >timezone. You may try to set the environment variable TZ >to cheat. > > >Dieter Thank you for your help! Oh, I forgot to mention an important detail. I'm in GMT+1 and that is also what I have set Windows NT to. The previous installation of Zope (2.1.4) showed the right time, after the upgrade it changed to GMT+2. Can anyone help me with changing this back? (if not, then I'll try the environment variable) Kind regards, Bart Holthuijsen Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] timezone change and permission problem
>From: Chris Withers <[EMAIL PROTECTED]> >Bart Holthuijsen wrote: > > This works for a User with the role Manager, but not with a user-defined > > role. I have created a Viewer class with all the available permissions >(for > > testing purposes), but the above code returns nothing. If I remove the >"and > > AUTHENTICATED_USER.has_permission('View',_.getitem('id',1)) " part it >does > > show up. What should I do to make that part work? > >Try giving your DTML method a proxy role or 'Manager'... Thanks for the quick reply... BUT It still isn't working. I even created a user in the root folder with the Viewer role and all the rights granted, but I'm still greeted with a blank screen where the list should be :( I added the proxy role "Manager" to the methods, but still nothing. I also checked all the "Acquire permission settings" boxes, so it couldn't be that. Any other suggestions? TIA, Bart Holthuijsen Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] timezone change and permission problem
Bart Holthuijsen wrote: > This works for a User with the role Manager, but not with a user-defined > role. I have created a Viewer class with all the available permissions (for > testing purposes), but the above code returns nothing. If I remove the "and > AUTHENTICATED_USER.has_permission('View',_.getitem('id',1)) " part it does > show up. What should I do to make that part work? Try giving your DTML method a proxy role or 'Manager'... cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )