Unable to delete Cloned Roles

Hi Zammad Community

Update I created a Clone of a Role by mistake instead of simply editing an existing role.
I would like to know how I can delete the Clone that I have created in error. I simply cannot find an option in the admin web interface.
Any help or pointers would be extremely welcome.

Thanks
Oliver

  • Used Zammad version: 5.1.x
  • Operating system: Win10
  • Browser + version: Edge Version 99.0.1150.55

Expected behavior:

Actual behavior:

Steps to reproduce the behavior:

Warning: this is dangerous if you make a mistake, I take no responsibility for anything!

Open the Zammad Rails console

zammad run rails c

And then

Role.find_by(name: 'put name here').destroy
1 Like

@awedor Hey thank you very much for pointing me in the right direction. And of course should I F"*çk it up it will be my mistake alone :slight_smile:
best regards
Oli

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.