In a ZClass, if I deploy image1_gif, image2_gif, they can be reached from an instance or ZClass method like this: <dtml-var image1_gif> That's fine, but I have many many images and I don't want to deploy them in the ZClass except collected into a folder called "EditImages". So if I, in the ZClass, have a folder called "EditImages" that contains image1_gif, image2_gif, ... imageN.gif then I would expect to be able to use: <dtml-with EditImages> <dtml-var images1_gif> </dtml-with> ...but this does NOT work. I get instead: Unauthorized You are not authorized to access EditImages. So, how to use folders correctly inside a ZClass?? Regards, Peter
Peter Bengtsson writes:
instance or ZClass method like this:
<dtml-var image1_gif>
That's fine, but I have many many images and I don't want to deploy them in the ZClass except collected into a folder called "EditImages".
So if I, in the ZClass, have a folder called "EditImages" that contains image1_gif, image2_gif, ... imageN.gif then I would expect to be able to use:
<dtml-with EditImages> <dtml-var images1_gif> </dtml-with>
...but this does NOT work. I get instead:
Unauthorized
You are not authorized to access EditImages. Did you make adaptions in the "Define permissions" tab?
Dieter
On Wednesday 10 April 2002 20:43, Dieter Maurer wrote:
Peter Bengtsson writes:
instance or ZClass method like this:
<dtml-var image1_gif>
That's fine, but I have many many images and I don't want to deploy them in the ZClass except collected into a folder called "EditImages".
So if I, in the ZClass, have a folder called "EditImages" that contains image1_gif, image2_gif, ... imageN.gif then I would expect to be able to use:
<dtml-with EditImages> <dtml-var images1_gif> </dtml-with>
...but this does NOT work. I get instead:
Unauthorized
You are not authorized to access EditImages.
Did you make adaptions in the "Define permissions" tab?
What kind of adaptions?
Peter Bengtsson writes:
... ZClass raises ...
Unauthorized
You are not authorized to access EditImages.
Did you make adaptions in the "Define permissions" tab?
What kind of adaptions? "Define permissions" maps the ZClass's permissions to permissions defined in the context of the ZInstances.
The implementers have been extremely conservative. Almost all permissions are mapped to "(disabled)". When someone hit's such a disabled permission, he gets an Unauthorized, even as "Manager". Not changing the permission mapping in "Define permissions" is one of the most frequent ZClass problems.... Dieter
On Thursday 11 April 2002 20:32, Dieter Maurer wrote:
Peter Bengtsson writes:
... ZClass raises ...
Unauthorized
You are not authorized to access EditImages.
Did you make adaptions in the "Define permissions" tab?
What kind of adaptions?
"Define permissions" maps the ZClass's permissions to permissions defined in the context of the ZInstances.
The implementers have been extremely conservative. Almost all permissions are mapped to "(disabled)". When someone hit's such a disabled permission, he gets an Unauthorized, even as "Manager".
Not changing the permission mapping in "Define permissions" is one of the most frequent ZClass problems....
Cool!! I (we) solved it! For the Folder inside the ZClass I defined that "Access Contents Information" to the same permission as View and that solved the problem. Greate!
participants (2)
-
Dieter Maurer -
Peter Bengtsson