On of our users seems to have removed a lot of variables from one of our projects. My guess is that it has something to do with his authorizations. Just before the deletion occurred, he was granted rights to additional environments.
Initially he only had rights to edit variables on some environments, lets call them ENV-1 and ENV-2. Later, he gained rights to ENV-3 and ENV-4.
After he changed a variable and saved the variable set, all variables not specifically scoped to ENV-1 or ENV-2 were deleted.
So basically, the following variables disappeared.
All variables without environment scope
All variables with environment scope ENV-3 and/or ENV-4, even if they also scoped ENV-1 and/or ENV-2
The audit log simply shows that the variables disappeared and, of course, the user ensures me he did nothing wrong and i tend to believe that he won’t delete ~20 variables willingly.
I managed to restore the variables manually from the variable snapshot from a previous deployment, but this seems like a bug to me. Can anyone take a look at this?
Last friday we upgraded from version 2020.4.10.
The user was granted the rights about 12 minutes before the issue occurred, i don’t think he logged out and in again (didn’t ask him to).
The issue hasn’t occurred again that we know of. The user in question hasn’t touched the variables as he is afraid he’ll break it again.
Would it be possible to do a SQB db backup or VM snapshot (or copy/paste the variables into a text doc), then have the affected user attempt to make a change again?