Here's the use case :
- Authenticate with a user having only "Administer Quality Profiles" permission
- Go to the dashboard of any project
- The "Administration" menu contains "Quality Profiles", "Quality Gates" and "Deletion"
- Clicking on "Quality Gates" or "Deletion" redirects you to the login page with the error message "You are not authorized to access this page. Please log in with more privileges and try again.".
Only "Quality Profiles" link in the "Administration" menu of a project dashboard should be available.
Note that with only the "Administer Quality Gates" permission, "Administration" menu of a project dashboard is not available, whereas it should be displayed with only the "Quality Gates" entry.