The isAllowed() deprecated method is to be exchnaged into:
MediaWikiServices::getInstance()->getPermissionManager()->userHasRight(...)
as it's stated in the method's annotation.
| Art.tsymbar | |
| Oct 13 2020, 1:51 PM |
The isAllowed() deprecated method is to be exchnaged into:
MediaWikiServices::getInstance()->getPermissionManager()->userHasRight(...)
as it's stated in the method's annotation.
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.