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.
Updated by Jan Hutař about 6 years ago
Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1589625
Updated by Dominik Hlavac Duran about 6 years ago
- Assignee set to Dominik Hlavac Duran
- Triaged set to No
Updated by The Foreman Bot about 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/5833 added
Updated by Tomer Brisker about 6 years ago
- Target version set to 1.19.0
- Fixed in Releases 1.19.0 added
Updated by Dominik Hlavac Duran about 6 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 1de010fc5df6e01a06d89f2dd7a7975d10003f22.
Actions