Page MenuHomePhabricator

OAuth extension - get rid of isAllowed() deprecated method
Closed, DuplicatePublic

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

Have wrote patch for this in T246567

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

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

OAuth has no isAllowed in its codebase anymore since Ammarpad's patch in T246567 got merged so this is a dup.
If something else was meant, please elaborate.