Tags:
create new tag
view all tags

Bug: Using %WEB% in group names

Group names cannot be defined using %WEB%. That would help defining group access/change restrictions for webs, if having a policy of groups named after the Web's name, for instance %WEB%Group or %WEB%AdminGroup.

Test case

Say we're in a Web called Myweb. Setting for instance a WebPreferences ALLOWWEBCHANGE to the value "Main.%WEB%AdminGroup" won't allow users belonging to a group named MywebAdminGroup to modify the web's content.

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  

-- OlivierBerger - 23 Feb 2005

Impact and Available Solutions

Follow up

Fix record

The following patch proposes a solution for CairoRelease : patch_Prefs.pm.diff

Discussion

At our site, we're creating webs using templates and constructing some groups automatically with default access and change protections using %WEB% in the groups names in WebPreferences, but we found out that it wouldn't work : users permissions would only be correct if the group names were "absolute"... applying the patch seems to solve the issue, then greatly helping to lighten the web creation process. -- OlivierBerger - 23 Feb 2005

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatdiff patch_Prefs.pm.diff r1 manage 1.4 K 2005-02-23 - 18:18 UnknownUser  
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2005-02-24 - OlivierBerger
 
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.