Page MenuHomePhabricator

Migrate relevant User method usages to GroupPermissionsLookup and hard-deprecate User methods.
Closed, ResolvedPublic

Description

All usages of

  • User::groupHasPermission,
  • User::getGroupsWithPermission and
  • User::getGroupPermissions

must be replaced with relevant methods in GroupPermissionsLookup and the User methods must be hard deprecated

Event Timeline

Change 656204 had a related patch set uploaded (by Peter.ovchyn; owner: Peter.ovchyn):
[mediawiki/extensions/CodeReview@master] Replace static User::getGroupsWithPermission in favour of GroupPermissionsLookup

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

Change 656904 had a related patch set uploaded (by Vlad.shapik; owner: Peter.ovchyn):
[mediawiki/extensions/CodeReview@master] Replace static User::getGroupsWithPermission in favour of GroupPermissionsLookup

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

Change 656904 abandoned by Vlad.shapik:
[mediawiki/extensions/CodeReview@master] Replace static User::getGroupsWithPermission in favour of GroupPermissionsLookup

Reason:

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

Pchelolo triaged this task as Medium priority.Jan 19 2021, 6:26 PM

Change 656204 merged by jenkins-bot:
[mediawiki/extensions/CodeReview@master] Replace static User::getGroupsWithPermission in favour of GroupPermissionsLookup

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