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
--
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