Description of problem: After upgrading SAM 1.2.1 to 1.3 from Snap6, permissions list of user role(with "environments" scope) get lost. Version-Release number of selected component (if applicable): Snap6 SAM-1.3.0-RHEL-6-20130912.0/compose How reproducible: always Steps to Reproduce: 1. Install SAM 1.2.1 2. Create user role and create new permission on "environments" scope and "read_contents,update_systems" verbs. 3. Upgrade to SAM Snap6. 4. On CLI try to list permissions for that role, the list is empty. It was showing permissions in previous Snap5, so this is regression. Actual results: permissions list for "environments" user role is empty Expected results: it must list existing permissions Additional info: Role info and role list CLI commands work OK there. Maybe this new bug is related to fix of https://bugzilla.redhat.com/show_bug.cgi?id=1001327
This is correct. With the removal of environments in headpin, all permissions referring to environments are removed during upgrade.