On upgraded Satellite Viewer role user still can manage Content Views
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1346352
Description of problem:
On upgraded Satellite Viewer role user still can manage Content Views.
as BZ 1341656 fixed only fresh Satellite installation.
With upgrades it's a bit tricky, the above fix avoids to modify existing roles filters as they can be already modified by Satellite admin. But still I would at least remove all perms that was wrongly matched on Sat6.1 as no one (read no customer) would expect/set Viewer role to have managing perms...
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Upgrade satellite
2. Prepare some content, some CVs under admin account
3. Create a user with just Viewer role assigned
4. Login as viewer user and navigate to Content -> Content Views
5. Have a "good play" with admin content
wrongly assigned perms to Viewer role from Sat6.1 still persists on Sat6.2
wrongly assigned perms to Viewer role dont persist on Sat6.2
can be workarounded: remove all filters that dont match "^view_*" from Viewer role.