Page MenuHomePhabricator

OAuth extension - get rid of isAllowed() deprecated method
Open, LowPublic

Description

The isAllowed() deprecated method is to be exchnaged into:

MediaWikiServices::getInstance()->getPermissionManager()->userHasRight(...)

as it's stated in the method's annotation.

Related Objects

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 13 2020, 1:51 PM
Helga_sf triaged this task as Low priority.Oct 13 2020, 2:07 PM

Have wrote patch for this in T246567

Have wrote patch for this in T246567

True, but there is 1 place with "isAllowed()" usage to be exchanged.

Peter.ovchyn removed Vlad.shapik as the assignee of this task.Oct 21 2020, 12:35 PM
Peter.ovchyn added a subscriber: Vlad.shapik.