Issue #2342759 by martin107: Fixed [branch blocker] Remove hook_permission().