JoinColony / colonyCDapp

An iteration of the Colony Dapp sporting both a fully decentralized operating mode, as well as a mode enhanced by a metadata caching layer
5 stars 14 forks source link

[Manage permissions]: wrong autofill role in action sidebar form #2967

Open Nortsova opened 3 months ago

Nortsova commented 3 months ago

Steps to reproduce

  1. Assign the Admin role to Amy for the Andromeda project.
  2. Assign the Payer role to Amy for the General project.
  3. Attempt to reassign the Payer role to Amy in the Andromeda project.

This issue is presents both in the master branch and in the multi-sig branch.

Expected behaviour

  1. Assign the Admin role to Amy for the Andromeda project.
  2. Assign the Payer role to Amy for the General project.
  3. The Admin role should be automatically filled.

Actual behaviour

image image

Suggestions (optional)

I believe this issue may occur because nested roles are handled differently on the frontend, using different helpers. It might be beneficial to unify the role management logic in one common place.

rumzledz commented 2 months ago

This is fixed as part of #2339