[Zope-CMF] Re: 'portal_membership.getMemberById' became
inaccessible]
Rupert Redington
rupert at neontribe.co.uk
Tue May 25 11:00:42 EDT 2004
Cheers Alec,
Spot on - of course - and it was staring me in the face...
Does this fix your issue as well Kari-Hans?
Thanks to Alec, Andreas, Kari-Hans...
Rupert
Alec Mitchell wrote:
> On Tuesday 25 May 2004 05:44 am, Rupert Redington wrote:
>
>>"The owner of the executing script does not have the required
>>permission. Access to 'getMemberById' of (MembershipTool at
>>/newsite/portal_membership) denied. Access requires one of the following
>>roles: ['Manager']. The executing script is (PythonScript at
>>/newsite/getNickNameNow used for /newsite/portal_memberdata/Academic),
>>owned by Anonymous User, who has the roles ['Anonymous']."
>>
>
> The answer is here. The script is owned by Anonymous, so it cannot do
> anything that anonymous cannot do (this is a security feature to prevent
> trojan horses). You need to have a manager take ownership of the script.
> Chances are the user who originally created the script was deleted at some
> point, hence the anonymous ownership. Good luck.
>
> Alec Mitchell
More information about the Zope-CMF
mailing list