SQL Server user and role backup
The elevated permissions are not documented, and the person who granted them is no longer with the organization. Nobody is confident that we know what they all are.

You'll have to fix that.
Sart with dumping the easy stuff, like the explicit permissions, role memberships, and members of the QA role.  eg
--qa role explicit permissions
select *
from sys.database_permissions p
where grantee_principal_id = user_id('qa')

--roles that the qa role is added to
select r.name role_name
from sys.database_principals r
join sys.database_role_members rm
  on rm.role_principal_id = r.principal_id
where rm.member_principal_id = user_id('qa')

---members of the qa role
select user_name(rm.member_principal_id) qa_member
from sys.database_principals r
join sys.database_role_members rm
  on rm.role_principal_id = r.principal_id
where rm.role_principal_id = user_id('qa')

And use those to generate a permissions script that is applied after restore to QA.  But keep a copy of your old QA database online so you can find stuff you missed.  EG individal team members with directly-granted permissions, etc.