fix permission names and add test to prevent regression

Merge request reports

Loading