You are here: Foswiki>Tasks Web>Item9833 (01 Dec 2010, MichaelDaum)Edit Attach
ALERT! Duplicate of Item9766, only on (I guess) a more recent codebase, because that one is from before 1.1.0 came out.

On a new FW 1.1.0 install I have created a TestUser and put it into a TestGroup. In a TestTopic, I'm trying to set access control via the NatEdit "Permissions" button. Selecting Specific users/groups, autocomplete shows me my TestUser but not my TestGroup. Adding TestGroup anyway, the following is written to the TestTopic.txt:

%META:PREFERENCE{name="ALLOWTOPICVIEW" title="ALLOWTOPICVIEW" type="Set" value=""}% %META:PREFERENCE{name="PERMSET_VIEW" title="PERMSET_VIEW" type="Local" value="details"}% %META:PREFERENCE{name="PERMSET_VIEW_DETAILS" title="PERMSET_VIEW_DETAILS" type="Local" value="TestGroup"}%

This has no effect on access permissions as everyone still can see this topic.

Another try: Removing TestGroup from Specific users/groups and adding AdminGroup, which is shown by autocomplete. This does make the topic invisible to the public. TestTopic.txt now reads:

%META:PREFERENCE{name="ALLOWTOPICVIEW" title="ALLOWTOPICVIEW" type="Set" value="AdminGroup"}% %META:PREFERENCE{name="PERMSET_VIEW" title="PERMSET_VIEW" type="Local" value="details"}% %META:PREFERENCE{name="PERMSET_VIEW_DETAILS" title="PERMSET_VIEW_DETAILS" type="Local" value="AdminGroup"}%

Now removing AdminGroup and adding TestGroup again finally messes things up completely:

%META:PREFERENCE{name="ALLOWTOPICVIEW" title="ALLOWTOPICVIEW" type="Set" value="AdminGroup"}% %META:PREFERENCE{name="PERMSET_VIEW" title="PERMSET_VIEW" type="Local" value="details"}% %META:PREFERENCE{name="PERMSET_VIEW_DETAILS" title="PERMSET_VIEW_DETAILS" type="Local" value="TestGroup"}%

-- HolstenerLiesel - 16 Oct 2010

 

ItemTemplate edit

Summary NatEdit Permissions not working correctly
ReportedBy HolstenerLiesel
Codebase 1.1.0
SVN Range
AppliesTo Extension
Component NatEditPlugin
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
Topic revision: r5 - 01 Dec 2010, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy