Page MenuHomePhabricator

Avoid use of User::isAllowed
Closed, ResolvedPublic

Description

User::isAllowed has been deprecated since 1.34, but it's still being added in new code. All calls should be replaced with PermissionManager

Event Timeline

Ammarpad created this task.Mar 1 2020, 9:57 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 1 2020, 9:57 AM
Ammarpad triaged this task as Medium priority.Mar 1 2020, 9:57 AM

Change 575768 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/extensions/OAuth@master] OAuth: Replace User::isAllowed with PermissionManager.

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

Change 575768 merged by jenkins-bot:
[mediawiki/extensions/OAuth@master] OAuth: Replace User::isAllowed calls with PermissionManager.

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

Ammarpad closed this task as Resolved.Oct 21 2020, 7:40 AM
Ammarpad claimed this task.