gives me no matches...I've tried to check regular expression syntax, but I'm not such an expert.
I checked again with my wiki and it works for me, all I've done regexp wise is to replace groups like "projekt\:" with "(projekt|\*)\:". Please mind that checking namespace ACL is skipped when the pagename already matches (line 533).
Example matching a pagename (user=test, goups=@user):
If anybody else could verify that the regexp matching is correct (I'm no expert neither) I could go ahead and feed in this change via github...
I've double checked line 542 spelling and still no luck...I'm testing with the following namespaces:
* @ALL 1
level1:*:level3:* @ALL 0
it matches when I select level3 namespace, giving to ALL no permission (which is ok);
but gives again no permission when selecting level2 namespace, because line 542 returns
no matches; the same when selecting level1 namespace.
I'm probably missing something...wouldn't I expect read permission to ALL on level2 and level1?
Sorry, I've mispelled namespaces:
level1:level2:level3 are the correct names for namespaces I'm using.
Can't I edit a comment?
I can't reproduce this behaviour, your example gives me
- read access to level1 & level2 ($matches = "* @ALL 1") and
- no access to level3 ($matches = "* @ALL 1", "level1:*:level3:* @ALL 0")
just as you expected and intended?
I attached my auth.php to be sure we have the same one...
I have never found the time to adapt the ACL form to allow to input wildcards (you can only click on existing pages and namespaces). The ACL form uses quite a bit of jQuery magic which I don't have a clue about...