Delete role via Rails console

Is it perfectly safe to delete any inactive roles which do not have any assigned users via Zammad’s Rail console in a production environment or is there anything like hidden dependencies I should be worried about?

Role.find_by(name: 'to_be_deleted').destroy

I did a couple of time without any perceived impact so far.

Sorry for the late response: This shouldn’t cause any trouble. :slight_smile:

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