This question about Using an extension: Answered

Setting access to specific users/groups in permissions tab

In the Permissions tab, there is an option to set view/change privileges to a user or a group. However, when I enter a username or group name and submit, access is not affected. After looking at the raw content of the topic, I see that the following preference is set by using that option:

%META:PREFERENCE{name="PERMSET_CHANGE" title="PERMSET_CHANGE" type="Local" value="details"}%
%META:PREFERENCE{name="PERMSET_CHANGE_DETAILS" title="PERMSET_CHANGE_DETAILS" type="Local" value="GroupName,UserName"}%

I was trying to find more info about PERMSET_VIEW, PERMSET_CHANGE, etc. but haven't found anything. Is this functionality planned for a future release? Or do I have to set some preference in order for foswiki to check PERMSET values for view/change access?

I'm hoping someone could shed some light, as it would be very nice to be able to set those permissions in the tab.

-- JavierLumos - 13 Apr 2010


That's strange. Are there any errors in your javascript error log? In Firefox that's in Tools -> Error Console.

I am no expert but from memory I think the PERMSET_ stuff is just to help NatEditPlugin UI. What's missing is a corresponding %META:PREFERENCE{name="ALLOWTOPICCHANGE" ....}%. So, it could be broken javascript, perhaps caused by ZonePlugin, perhaps fixable by using CompatibilityMode or disabling {OptimizePageLayout} (in configure).

Are all the Nat*, JQueryPlugin and ZonePlugin extensions up-to-date?

-- PaulHarvey - 14 Apr 2010


Thanks for pointing me in the right direction. It turns out that ALLOWTOPICCHANGE is set only when I type in a username/groupname and hit enter (and then Save). If I just type it in and click Save, it's saved to PERMSET_CHANGE_DETAILS, but not ALLOWTOPICCHANGE.

-- JavierLumos - 14 Apr 2010

QuestionForm edit

Subject Using an extension
Extension NatEditPlugin
Version Foswiki 1.0.9
Status Answered
Topic revision: r4 - 16 Apr 2010, PaulHarvey
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