[Bug 58602] Special:GWToolset does not check permissions correctly

2014-01-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58602

Tomasz W. Kozlowski  changed:

   What|Removed |Added

 Status|PATCH_TO_REVIEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #11 from Tomasz W. Kozlowski  ---
This bug appears to have been fixed; the extension now checks whether the user
in question has the 'gwtoolset' user right instead of checking for their
membership in the 'gwtoolset' user group. Please feel to reopen if you don't
like it.

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


[Bug 58602] Special:GWToolset does not check permissions correctly

2014-01-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58602

--- Comment #10 from dan  ---
ryan,

the patch has been merged into the master branch and deployed to Commons. 
you can see the results when you are not logged into commons and go to 
http://commons.wikimedia.org/wiki/Special:GWToolset.

please close this ticket if you’re satisfied with the results. if not, please
indicate what else needs to be addressed.

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


[Bug 58602] Special:GWToolset does not check permissions correctly

2013-12-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58602

--- Comment #9 from MZMcBride  ---
(In reply to comment #8)
> Change 102814 merged by Dan-nl:
> correcting gwtoolset permission check
> 
> https://gerrit.wikimedia.org/r/102814

Is this bug resolved/fixed, then?

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


[Bug 58602] Special:GWToolset does not check permissions correctly

2013-12-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58602

--- Comment #8 from Gerrit Notification Bot  ---
Change 102814 merged by Dan-nl:
correcting gwtoolset permission check

https://gerrit.wikimedia.org/r/102814

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


[Bug 58602] Special:GWToolset does not check permissions correctly

2013-12-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58602

--- Comment #7 from Gerrit Notification Bot  ---
Change 102814 had a related patch set uploaded by Dan-nl:
correcting gwtoolset permission check

https://gerrit.wikimedia.org/r/102814

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


[Bug 58602] Special:GWToolset does not check permissions correctly

2013-12-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58602

Gerrit Notification Bot  changed:

   What|Removed |Added

 Status|NEW |PATCH_TO_REVIEW

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


[Bug 58602] Special:GWToolset does not check permissions correctly

2013-12-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58602

--- Comment #6 from Bawolff (Brian Wolff)  ---
(In reply to comment #5)
> okay, i think i understand this issue better now.
> 
>   • our use case is to only allow certain users access to the extension.
> 
> in order to achieve this i originally thought that i needed to add a new
> group
> and then test against that new group.
> 
> what i understand now is that i need to add a new group, and a new right,
> which
> have already been done, and test against the new right only. only users who
> are
> part of this new group, gwtoolset, will have the right, gwtoolset assigned to
> them and thus access to the extension. is this what this bug is getting at?


Yep

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


[Bug 58602] Special:GWToolset does not check permissions correctly

2013-12-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58602

--- Comment #5 from dan  ---
okay, i think i understand this issue better now.

  • our use case is to only allow certain users access to the extension.

in order to achieve this i originally thought that i needed to add a new group
and then test against that new group.

what i understand now is that i need to add a new group, and a new right, which
have already been done, and test against the new right only. only users who are
part of this new group, gwtoolset, will have the right, gwtoolset assigned to
them and thus access to the extension. is this what this bug is getting at?

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


[Bug 58602] Special:GWToolset does not check permissions correctly

2013-12-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58602

--- Comment #4 from Bawolff (Brian Wolff)  ---
(In reply to comment #3)

> In this particular case, there is little difference because the gwtoolset
> user
> group is the only one which has the gwtoolset user right (at least in the
> Wikimedia universe), but I think it's now more about code quality and
> conventions as well as about the third-party potential.

Yes, MediaWiki is designed under the assumption that groups are for
organization only, and a group does not give extra abilities to the user except
for whatever rights are contained in the group. There should be no difference
between someone in the gwtoolset group and somebody in another group with a
different name and the same rights.

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


[Bug 58602] Special:GWToolset does not check permissions correctly

2013-12-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58602

--- Comment #3 from Tomasz W. Kozlowski  ---
These are all unrelated things, Dan.

It is my understanding that extensions should generally use user rights rather
than user groups to determine access (after watching a discussion between
kaldari and Reedy on #wikimedia-whatever). 

In this particular case, there is little difference because the gwtoolset user
group is the only one which has the gwtoolset user right (at least in the
Wikimedia universe), but I think it's now more about code quality and
conventions as well as about the third-party potential.

The discussion on Commons is irrelevant to this; we're talking about the
extension code, not about local per-wiki settings, which from now on will be
defined in
, and
not directly in the extension as it was before bug 58607 got fixed.

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


[Bug 58602] Special:GWToolset does not check permissions correctly

2013-12-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58602

--- Comment #2 from dan  ---
similar to:
- bug 58603
- bug 58607

those bugs have been committed to commons and seem to have resolved the initial
‘right’ issue admins were experiencing. it is true that the extension is using
the group and not the right to determine access to the extension, but this is
by design.

there is currently a discussion at
https://commons.wikimedia.org/wiki/Commons:Administrators%27_noticeboard#GWToolset
regarding who should actually have the ability to add/remove this group from a
user’s account. once that has been decided the necessary config changes can be
made.

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


[Bug 58602] Special:GWToolset does not check permissions correctly

2013-12-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58602

Steinsplitter  changed:

   What|Removed |Added

   Priority|Unprioritized   |Normal
 CC||steinsplitter-w...@live.com
   Severity|normal  |minor

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


[Bug 58602] Special:GWToolset does not check permissions correctly

2013-12-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58602

--- Comment #1 from Tomasz W. Kozlowski  ---
The short discussion on #wikimedia-commons leads me to believe that the access
to the tool should indeed by controlled by user rights rather than user groups.

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