Let's start to convert all calls to user_access() with the new AccountInterface::hasPermission() method.

Part of #2048171: [meta] Replace user_access() calls with $account->hasPermission() wherever possible.

Change records for this issue:

Comments

internetdevels’s picture

Status: Active » Needs review
StatusFileSize
new707 bytes

Here is the patch.

andypost’s picture

Status: Needs review » Reviewed & tested by the community

nice

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.