Skip to content

Bug when one user edits environment and other deletes #2984

@Divyanshu1998

Description

@Divyanshu1998

What happened?

I was logged in two separate tabs. In one tab, I am logged in as SUPERADMIN and in another tab as a user(call user1). user1 is given permission to add/edit/delete environments. user1 has opened "edit environment" tab and at the same time, SUPERADMIN deletes the environment. user1 after making some changes presses the "save" button. And the deleted environment with changes is restored.

What did you expect to happen?

After the deletion by SUPERADMIN, user1 should not have been allowed to save changes to deleted environment.

What else do we need to know?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions