Item2380: i think that Func::checkAccessPremission lies if a topic doesn't exist.
Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component:
Branches:
return Foswiki::Func::checkAccessPermission(
'CHANGE', $user, '', $groupName, $groupWeb);
when $groupName does not exist as a topic, the Func code creates a Meta object that returns true, even though is should not?
unit test to follow.
--
SvenDowideit - 19 Nov 2009
I'm trying to fix
Item9512 - checkAccessPermission should check web permission when topic is undef (or null).
So is this related. If a topic does not exist, should the permissions be based upon the permissions set in
WebPreferences? ie. check CHANGE on non-existing topic should return true if the web permits that topic to be changed (and in this case created?)
--
GeorgeClark - 21 Aug 2010
Setting to Closed - discussion on IRC - this is probably correct behavior. Added a unit test verify this operation.
--
GeorgeClark - 21 Aug 2010