Collaborator access bug: Role already exists

With the new permissions system, it’s impossible for a merchant to accept new collaborator request if the same collaborator was previously removed. This happens in a few cases:

  • The merchant manually removed the collaborator user
  • The collaborator access was removed by the partner (eg to request more permissions)

When this occurs, the merchant sees an error:
“Something went wrong, Role with this name already exists.”

The current workaround is to go to Settings > Users > Roles and manually delete old collaborator role. However, this is non-trivial and confusing for non-technical merchants.

I recently had a call with an older merchant who was completely lost when faced with this vague error and couldn’t figure out how to approve collaborator access.

I also recorded video demo for this issue with reproduction steps:

Proposed solutions:

  • Auto-delete collaborator’s role together with user
  • When approving request, detect existing collaborator role and re-use it with updated permissions

This is 100% something that the system should handle automatically, rather than leaving merchants to resolve it manually.

4 Likes

Hey @Kirill_Platonov,

Thanks so much for such a detailed report. I’m looking in to this and will report back what I find. I can definitely see how the error with no clear next steps would be confusing.

UPDATE: I’ve passed this feedback on to our product teams to request making this process more efficient and less confusing. I don’t have a specific timeframe at the moment, but will keep an eye out for any further updates.

Hi @KyleG-Shopify,

Thank you! :green_heart: Hoping it won’t take long to fix.

1 Like