[Zope] solution to Unauthorized: cannot access ... in this context

Bergen Moore bergen@globalexchange.org
Wed, 26 Feb 2003 14:36:39 -0800


--Apple-Mail-1--727676934
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

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.

--Apple-Mail-1--727676934
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
	charset=US-ASCII

I've seen alot of posts with people having the following error:

<fixed><fontfamily><param>Courier New</param>

Error Type: Undefined

Error Value: You are not allowed to access <<something> in this context</fontfamily></fixed>


___


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

<underline><color><param>1A1A,1A1A,FFFF</param>http://www.globalexchange.org</color></underline>


<fixed>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.</fixed>
--Apple-Mail-1--727676934--