Can I edit the agent's permissions if they have a role assigned?
No, if the agent has a role assigned, you won't be able to edit their permissions without unassigning the role. Instead, edit the role the agent has been assigned. Note that this will affect all agents that have that role assigned to them.
For more information, see this article: Creating and editing roles in Tymeshift.