Fixes wrong scope for permission event