Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #3423] Bad Attributes during create user #954
This issue has been migrated from Redmine: https://dev.icinga.com/issues/3423
Created by ossmon on 2012-11-05 14:52:32 +00:00
When i create a new user without to specify any attributes (for example credentials, roles, customvariable,...), the user is saved with more information that i set.
When i load the user in the admin ui after creation, i see that
2012-12-19 13:17:21 +00:00 by jmosshammer 6596265
2012-12-20 15:35:52 +00:00 by jmosshammer 7208f5f
Updated by ossmon on 2012-11-07 13:57:15 +00:00
I have done some more tests:
case 1: there are many users (in my case 28) and nobody has restrictions with custom variables => after save the new user has 2 empty custom variables (as in the screenshot)
case 2: there are many users (in my case 28) and one user (in my case user1 in the middle of the list, sorted by id), has restrictions with two custom variables (one host and one service custom variable) => after save the new user user2 has the same custom variables than user1 with the two custom variables. And when you delete user2, user1 lost its custom variables.
One another problem is that it is not possible to define more than one custom variable per type (host or service).