https://bugzilla.wikimedia.org/show_bug.cgi?id=67145

--- Comment #6 from Brad Jorsch <bjor...@wikimedia.org> ---
(In reply to Mark A. Hershberger from comment #4)
> To be clear, their LocalSettings.php contains the following line:
> 
>    $wgGroupPermissions['*']['editmyoptions'] = false;

Yes, that would remove the permission. Even though it has no effect for anons,
it is assigned to '*' by default rather than 'user' to allow code to
short-circuit more expensive per-user permissions checks by using
User::isEveryoneAllowed().

> It looks like the interpretation of permissions changed between 1.22 and
> 1.23

I doubt that. It looks more like you're just confused here, thinking that
'editmyoptions' is given by default to 'user' rather than (or in addition to)
'*'.

> because, when I take a new installation of MW 1.22 and 1.23, the
> permissions for 'editmyoptions' don't change.  Instead, they remain as if
> they were the following:
> 
>    $wgGroupPermissions['*']['editmyoptions'] = true;
>    $wgGroupPermissions['user']['editmyoptions'] = false;

The second line here no effect. I can't make any sense of why you are making
this statement.

> Now that I
> look at this, I think what the person needs to do in 1.23 is 
> 
>    $wgGroupPermissions['*']['editmyoptions'] = false;
>    $wgGroupPermissions['user']['editmyoptions'] = true;

No, what they need to do is not screw with the assignments for editmyoptions
and the other 'my' permissions at all.


(In reply to Mark A. Hershberger from comment #5)
> Reopening because it looks like the way permissions are interpreted has
> changed.

I'll give you one chance to provide actual evidence for this speculation before
I close this again.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to