[Bug 58375] Selenium user rights on test2wiki

2014-04-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58375

Chris McMahon cmcma...@wikimedia.org changed:

   What|Removed |Added

 Status|PATCH_TO_REVIEW |RESOLVED
 Resolution|--- |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 58375] Selenium user rights on test2wiki

2014-03-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58375

--- Comment #16 from Željko Filipin zfili...@wikimedia.org ---
It has been a couple of weeks since the last commit. Is this fixed in the
meantime?

-- 
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 58375] Selenium user rights on test2wiki

2014-02-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58375

--- Comment #15 from sp...@wikimedia.org ---
Mostly fixed. qa_automation also needs the 'block' right on test2wiki, or we
should remove that browser test.

-- 
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 58375] Selenium user rights on test2wiki

2014-02-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58375

--- Comment #14 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 113311 merged by jenkins-bot:
Add qa_automation group and grant it Flow rights

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

-- 
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 58375] Selenium user rights on test2wiki

2014-02-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58375

sp...@wikimedia.org changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #8 from sp...@wikimedia.org ---
This is again a problem.

Selenium_user on test2wiki cannot Delete or Suppress topics or posts, so
several tests are failing.  Selenium_user on test2wiki can't see its own
Special:UserRights but Special:UserList shows Selenium_user has
(autochecked user, editor, reviewer)

For comparison, Selenium_user on en betalabs can visit Special:UserRights and
has (oversight, administrator).

-- 
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 58375] Selenium user rights on test2wiki

2014-02-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58375

--- Comment #9 from p858snake p858sn...@gmail.com ---
Special:UserRights is only visible if you have rights to change group members.
I'm unsure what test2 is setup as but autochecked, editor and reviewer
generally don't have those 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 58375] Selenium user rights on test2wiki

2014-02-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58375

Chris McMahon cmcma...@wikimedia.org changed:

   What|Removed |Added

 CC||cste...@wikimedia.org,
   ||jh...@wikimedia.org

--- Comment #10 from Chris McMahon cmcma...@wikimedia.org ---
OK.  Chris Steipp had asked if we could curb the permissions on test2wiki for
Selenium_user.  We seem to have gone too far. 

Let's restore the minimum set of permissions to make the Flow tests pass, and
also do the password-change and security dance at the same time.

-- 
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 58375] Selenium user rights on test2wiki

2014-02-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58375

--- Comment #11 from Chris Steipp cste...@wikimedia.org ---
Just to clarify, my concern was that I think I've seen the password for the
Selenium_user account, and I we probably store it in Cloudbees somewhere. So
it's likely several people have had access to it at one time or another.

Because test/test2 is a production domain, a sysop who inserts malicious
javascript there can escalate their privileges across the cluster. We can take
away CORS access from test/test2, but then cross-domain gadgets and other
things that should be tested will fail. So after talking to Chris McMahon, I
remove sysop and bureaucrat from Selenium_user.

Options for going forward:
* Don't run tests that require sysop on the production cluster
* Move the permissions that we need for the tests (I'm guessing these are all
flow specific currently?) into a new group on test/test2, and assign
Selenium_user as the only user in that group.
* Have the tests use OAuth, with a grant that only contains the necessary
rights and is only valid on those wikis, so that the Selenium_user's actual
password doesn't have to be shown/stored anywhere.

-- 
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 58375] Selenium user rights on test2wiki

2014-02-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58375

--- Comment #13 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 113311 had a related patch set uploaded by Spage:
Add qa_automation group and grant it Flow rights

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

-- 
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 58375] Selenium user rights on test2wiki

2014-02-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58375

Gerrit Notification Bot gerritad...@wikimedia.org changed:

   What|Removed |Added

 Status|REOPENED|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 58375] Selenium user rights on test2wiki

2014-02-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58375

--- Comment #12 from sp...@wikimedia.org ---
(In reply to Chris Steipp from comment #11)
Yes, giving Selenium_user oversight and admin in production seems crazy.

 * Move the permissions that we need for the tests (I'm guessing these are
 all flow specific currently?) into a new group on test/test2, and assign
 Selenium_user as the only user in that group.

Sounds good.  I don't understand the nuances of groups, but we want something
that ends up with a qa_automation group on test2wiki that does:
$wgFlowGroupPermissions['qa_automation']['flow-delete'] = true;
$wgFlowGroupPermissions['qa_automation']['flow-suppress'] = true;

and then some admin can add Selenium_user to this group. I don't fully
understand wgOverrides/wgOverrides2/wgAddGroups, but I have a patch anyway 8-)

-- 
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 58375] Selenium user rights on test2wiki

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

--- Comment #6 from Željko Filipin zfili...@wikimedia.org ---
Is this 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 58375] Selenium user rights on test2wiki

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

Chris McMahon cmcma...@wikimedia.org changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Chris McMahon cmcma...@wikimedia.org ---
This is working now

-- 
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 58375] Selenium user rights on test2wiki

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

Chris McMahon cmcma...@wikimedia.org changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INVALID |---

--- Comment #3 from Chris McMahon cmcma...@wikimedia.org ---
No, something is wrong with the permissions for Selenium_user to see Block
and also to see Suppress under Actions in Flow.  Whatever is required, my
user Chrismcmahon(WMF) also lacks those permissions.

-- 
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 58375] Selenium user rights on test2wiki

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

--- Comment #4 from Chris McMahon cmcma...@wikimedia.org ---
I mean Cmcmahon(WMF)

-- 
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 58375] Selenium user rights on test2wiki

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

--- Comment #5 from Chris McMahon cmcma...@wikimedia.org ---

It seems that neither local 'sysop' nor global 'administrator' has the
'oversight' right: 

Flow.php:$wgGroupPermissions['oversight']['flow-suppress'] = true;

-- 
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 58375] Selenium user rights on test2wiki

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

p858snake p858sn...@gmail.com changed:

   What|Removed |Added

 CC||p858sn...@gmail.com

--- Comment #1 from p858snake p858sn...@gmail.com ---
(In reply to comment #0)
 rights, but on test2wiki Selenium user has
autochecked user, bureaucrat, editor, reviewer,***administrator***

I has Sysop Rights, It's just labelled Administrator on wiki, and it has rights
to block, see: https://test2.wikipedia.org/wiki/Special:ListGroupRights#sysop

-- 
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 58375] Selenium user rights on test2wiki

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

sp...@wikimedia.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID

--- Comment #2 from sp...@wikimedia.org ---
D'oh, so it must be something else.

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