[1.6.x] Fixed #21325 -- Added missing argument to permission_required decorator.

Backport of cc2049cdd7 from master