solution to Unauthorized: cannot access ... in this context
I've seen alot of posts with people having the following error: Error Type: Undefined Error Value: You are not allowed to access <something> in this context ___ It kept making my user anonymous, logging me out, and not performing the action. It began to happen to me in several cases, so I got tough and downloaded Verbose Security at http://hathaway.freezope.org/Software/VerboseSecurity, (thanks, Hathaways) which told me that Anonymous didn't have View priveleges... Why was it running as Anonymous, I thought? So, I went to the root folder of the website I was having the problems in, and TOOK OWNERSHIP with a manager/owner user. My feeling was that somehow these files had lost ownership. Apparently I was right. So, the SOLUTION: Take ownership of the problem folders or files (with the folders you can recursively take ownership of all files within it. Helpful? It was to me. Bergen -- Bergen Moore Technologist Global Exchange 415 558-9486 bergen@globalexchange.org http://www.globalexchange.org Global Exchange is a non-profit research, education, and action center dedicated to promoting people-to-people ties around the world. Since our founding in 1988, we have been striving to increase global awareness among the US public while building international partnerships around the world.
Bergen Moore wrote:
SOLUTION: Take ownership of the problem folders or files (with the folders you can recursively take ownership of all files within it.
Helpful? It was to me.
Be careful you know what taking ownership if you have the Manager role implies, especially if your users can write any kind of Zope code using the system (DTML, ZPT, Python scripts) cheers, Chris
participants (2)
-
Bergen Moore -
Chris Withers