I have a phoenix live component that adds and edits new roles, the component also has toggles for adding and removing permissions from a role while editing or creating a role
I tried using permission ids to populate or depopulating an existing list of roles while editing or creating a role