create new tag
, view all tags

WebPermissionsPluginDev Discussion: Page for developer collaboration, enhancement requests, patches and improved versions on WebPermissionsPlugin contributed by the TWikiCommunity.
• Please let us know what you think of this extension.
• For support, check the existing questions, or ask a new support question in the Support web!
• Please report bugs below

Feedback on WebPermissionsPlugin

-- CrawfordCurrie - 28 Feb 2006

Very useful! Looks a bit like Confluence security settings, but with options per web.

Perhaps use a column for person and group icons to the left to make it visually more clear.

-- ArthurClemens - 28 Feb 2006

Thanks Crawford for sharing this Plugin!

-- PeterThoeny - 28 Feb 2006

Thanks really go to the Evolved Media Network, who supported this work!

-- CrawfordCurrie - 01 Mar 2006

This is one of the CategoryBranding features to show off.

-- ArthurClemens - 01 Mar 2006

I am confused. After several tries, I finally have data in a table. But some of what I expect to see is missing.

Note that the XPortersGroup is missing from the table even though the XPorters web is accessible only by this group. Can anyone tell me what is wrong?

  • screenshot of permissions WebPermissionsPlugin table:
    screenshot <a href=WebPermissionsPlugin table" width="794" height="286" />

  • screenshot of permissions as set for XPorters web:
    permissions as set

-- VickiBrown - 12 Mar 2006

See your question in Support web. Please ask support questions there; I very rarely visit this topic!

-- CrawfordCurrie - 12 Mar 2006

Yes, well, other people say "Ask support questions and file bugs in the Dev topic". Sigh

Besides, my Support question (still) pertains to SitePermissions, not to this plugin.

-- VickiBrown - 12 Mar 2006

Great Plugin, good work. Just a quick question. How can I assign an icon and checkbox for the "rename" option?

-- AdamCoven - 31 Mar 2006

The new WebPermissionsPlugin released on 15th May has two bugs: 1) The plugin is not reading the Web permissions correctly. After setting the permissions, if you click Edit again, the plugin indicates that all permissions are available for all webs. However the TWikiAccessControl topic correctly shows the permissions set 2)line # 58 of the module is commented by mistake. Because of this, the permissions of the TWiki Web are shown on the WebPermissionsPlugin topic.

-- AlokNarula - 13 Jun 2006

The WebPermissionsPlugin is not working correctly with the latest TWiki version (Sun, 25 Jun 2006 build 10706). The plugin doesn't show the permissions available to each user on a web. The plugin only shows the Groups that have permissions on a web. It shows the permissions available to a user only when the user is added to a group.

-- AlokNarula - 29 Jun 2006

I have attached a small patch that alters the web table such that groups are shown first, then users (could be expanded upon, eg putting group vs user icons in front of the name or something).

Furthermore, the patch contains something SvenDowideit sent me a while back, it fixes a problem with not retrieving the proper permissions for a web.

Patch attached as wpp.diff

-- KoenMartens - 12 Aug 2006

The examples in the plugin topic don't look well in Safari, needs a bit of front-end work.

-- ArthurClemens - 30 Oct 2006

Hi.. Can you tell me if plugin have testing with Twiki 4.1 ? Because this is my error : Undefined subroutine &TWiki::Func::getACLs called So I installed that : TWiki::Contrib::FuncUsersContrib

Do you have idea ? Thx

-- YannickPavard - 17 Feb 2007

I'm getting the same error that Yannick is getting. Any ideas on how to resolve this?

-- AlokNarula - 28 Feb 2007

I just loaded it onto 4.1.1, and it's working fine.....? I suspect you didn't read the installation instructions and/or didn't run the installer script. You need the FuncUsersContrib as well as he plugin.

-- CrawfordCurrie - 28 Feb 2007

I did try on the 4.1.1, have installed FuncUsersContrib also, but same error as reported by Yannick is appearing.

-- AmitvikramMuttigi - 28 Feb 2007

I also am having the same problem. I also installed FuncUsersContrib. Tried to do a little debugging, but not that familiar with perl. Is FuncUsersContrib somehow not being seen?

-- ChiemMa - 24 Mar 2007

Same problem here with the getACLs, what is the solution ? Thks.

-- CyrilleMastchenko - 29 Mar 2007

Add this line without qoutes: "use TWiki::Contrib::FuncUsersContrib" to the WebPermissionsPlugin.pm file located in your twiki/lib/TWiki/Plugins

-- OmerArap - 09 Apr 2007

Many thanks Omer. I had the same error. After adding use TWiki::Contrib::FuncUsersContrib; to the WebPermissionsPlugin.pm everything works just fine.

Sven and/or Crawford? Could you please take this into the next release?


-- CarloSchulz - 24 Apr 2007


I have a bug with this view :

% WEBPERMISSIONS{webs="TWiki06x00" repeatheads="10"} %

When I want to edit option (by example add DELETE RIGHT for member) I have blank page with this only message :

TWiki detected an internal error - please check your TWiki logs and webserver logs for more information. Insecure dependency in open while running with -T switch

Do you have solution ? TWiki version is 4.0

-- YannickPavard - 22 May 2007

what are the errors in apache's error_log related to this action? i doubt anyone can be of much help without that info...

-- WillNorris - 22 May 2007

Sorry, error in html code.. All is right now ! Thank

-- YannickPavard - 04 Jun 2007

Connecting to TWiki server(WebPermissionsPlugin enabled) with account/password via web browser(IE6 or Firefox, select [More topic actions] -> [Edit ACLs], after [Save] button pressed, "Are you sure you want to prevent yourself from being able to edit this topic?" dialog is always presented. (topic editor added to or removed from "Editors" selection list)

I have found that, if using local web browser on TWiki server to perform the same test, it will succeed!(i.e., confirm dialog presented with empty list, confirm dialog not presented with topic editor in Editors selection list)

After debugging to "pub/TWiki/WebPermissionsPlugin/WebPermissionsPlugin.js -> TWiki.WebPermissionsPlugin.prepareForSave" function with remote web browser, I found that "selectObj.options[i].value" was always empty in for loop. (if using local web browser for test, "selectObj.options[i].value" can return the correct value for a specific index "i")


1. TWiki-4.1.2, Sat, 03 Mar 2007, build 13046, Plugin API version 1.11

2. WebPermissionsPlugin (1.120, $Rev: 15867 (04 Dec 2007) $)

-- RouterHsu - 16 Jan 2008

The visited links in the permissions table are white (pattern skin), so they become invisible.

Does anyone know where TWikiBaseGroup comes from? It is listed but it does not have a topic, so it get the question mark.

I was looking at the version in TWikiRelease04x02 svn tag.

This is stil valid:

  • Tip 1: have different sections for groups and individual users. This is of course easily done with parameter users="*Group".
  • Tip 2: have one global checkbox for all webs

-- ArthurClemens - 08 Feb 2008

How can I show a group of users (no groups)? I try users="-*Group" but that does not work.

-- ArthurClemens - 08 Feb 2008

Request: can we have the list of webs in the table headers follow the same order as entered in the parameters?

Let's say user A is member of group G. The access settings in the table of user A do not automatically follow the rules of group G. How do I prevent that I must set overriding settings for each user?

It looks like groups are not removed from ALLOWWEBCHANGE if they are unchecked in the table, only added. Bug?

-- ArthurClemens - 15 Feb 2008

I just played a bit with this powerful plugin. Thanks for creating it. Does anybody know how to solve this problem: "Can you add % TOPICPERMISSIONS % for a topic from another (remote) topic? "

I have created a Support-case for that: TopicPermissionsOnRemotePages

-- MartinSeibert - 30 Mar 2008

There is another problem, that I have with the plugin: "WebPermissionsPlugin has problems with many users to to post of request"

I would be thankful, if anybody knew a solution for this.

-- MartinSeibert - 30 Mar 2008

I have attached a patch. It fixes the calculation of the ACLs for a topics and hierchical webs.

Yet, topic ACLs are not correctly calculated, because if the topic-prefs are not set, the web-prefs should be the one to look at. This has not been done yet.

We had no support for hierchical-webs-acl calculation at all. Using subwebs without acl-prefs would not cause in using the parent web ones

-- MayerEugen - 22 Jul 2008

SVN trunk is patched.

-- MayerEugen - 23 Jul 2008

I'd like to file a bug report: The WebPermissions Plugin actually is not aware of subwebs. The hierarchical webs get displayed in the frontend and one can actually even change settings but they don't get applied or stored. If the fix will take some time, you maybe should disable the checkboxes of the subwebs or place some hint there because it's quite confusing, I think. It really took me time until I found out that I wasn't doing anything wrong.

-- FelixReinel - 12 Feb 2009

Looks really promising, but when I add a user as an editor it also adds them to the ALLOWTOPICVIEW as well. This locks everyone out of viewing the topic! There's one unanswered support topic for this issue. Does anyone else see this?

-- JesseRusk - 2011-07-26

Unfortunately, there's a bug. This plugin does not simply adds an "Edit topic ACLs" option to the "More Actions" page. It changes the More Actions page, potentially removing things that are already in it (e.g. Copy)

-- Vicki Brown - 2017-03-23

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng vlb20060312a.png r1 manage 26.6 K 2006-03-12 - 20:14 VickiBrown screenshot of permissions WebPermissionsPlugin table
PNGpng vlb20060312b.png r1 manage 23.0 K 2006-03-12 - 20:14 VickiBrown permissions as set
Unknown file formatdiff wpp.diff r1 manage 2.3 K 2006-08-12 - 15:12 KoenMartens Patch for seperating groups/users in web view (DIRTY!)
Edit | Attach | Watch | Print version | History: r37 < r36 < r35 < r34 < r33 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r37 - 2017-03-23 - VickiBrown
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.