Fix checkPermissions() for category decorators