Closed pikonha closed 2 months ago
If user is not manager, he/she should not be able to edit records.
The edit record CTA is shown even for a visitor that is not the domain's manager.
The edit record CTA should only be shown for a visitor that is the domain's manager.
Visit Manage Domain page
Create a conditional to display the Edit CTA based on the comparison of authed user and domain's manager.
this is duplicated by #125
looks good to me 🔥
Bug Report
CTA is being displayed for unauthorized user
If user is not manager, he/she should not be able to edit records.
Current behavior
The edit record CTA is shown even for a visitor that is not the domain's manager.
Expected behavior
The edit record CTA should only be shown for a visitor that is the domain's manager.
Steps to reproduce
Visit Manage Domain page
Proposed solution
Create a conditional to display the Edit CTA based on the comparison of authed user and domain's manager.