Actions
Bug #24002
closedno unique constraint to the name column on the roles table
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Description
Description of problem:
The role name is unique. However, this doesn't reflect in the underline db.
Version-Release number of selected component (if applicable):
6.3.1, also broken os 6.4.0 snap 7
How reproducible:
Easy
Steps to Reproduce:
1. su - postgres
2. psql foreman
3. insert into roles(name, origin) values('Access Insights Admin', 'redhat_access');
Actual results:
Duplicate records for 'Access Insights Admin'
Expected results:
No duplicate record.
Actions