equinor / flyt

Equinor Flyt (aka. VSM - Value Stream Mapping)
https://flyt.equinor.com
MIT License
4 stars 1 forks source link

Canvas is not updated when user access changes #645

Closed nesadrian closed 5 months ago

nesadrian commented 9 months ago

Describe the bug When a users access is changed it is not reflected in the canvas. Add card buttons will still be there even if access is removed for example.

To Reproduce Steps to reproduce the behavior:

  1. Go to any Flyt 2.0 environment
  2. Find/create a process where you have contributor/admin access
  3. Have an admin/owner remove your access
  4. See that you can still see and click add card buttons

Expected behavior When losing access you should no longer be able to add cards, edit cards or draw lines between cards

Development checklist

nesadrian commented 9 months ago

@SayyareHamit This is ready for test in either poc-dev or poc-qa. Let me know if you need me to remove your access in a process so that you can test it

SayyareHamit commented 9 months ago

Tested in poc-qa, works good as required. @nesadrian