New user added to wrong group if actor.usr id and usrgroup sequences are out of sync
Bug #1775234 reported by
Jeff Davis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Invalid
|
Undecided
|
Unassigned |
Bug Description
In theory, the default value for actor.usr.usrgroup should be the same as actor.usr.id. But the id and usrgroup columns use two different sequences for their default values, and those sequences can be out of sync. If that happens, new users will be incorrectly added to whatever group corresponds to the next usrgroup val, which is likely to be an entirely unrelated user.
To post a comment you must log in.
I can't seem to find the particulars of why this happened to us, but several years ago the sequence of actor.usr.usrgroup got reset to a number far lower than actor.usr resulting in this issue. In our case, resetting the value of actor.usr_ usrgroup_ seq to something higher than actor.usr solved the issue for us.