On the domain management pages, we will have users who only have the rights to see domain data and to not edit it. This is to give them insight into their domains without risking them changing things they aren't supposed to. We already have an editable portfolio view, and now we need that view to only show if the user has management permissions and change into a non edit view if the user has edit permissions.
Acceptance criteria
[ ] The edit view created in #2354 is only shown if a user has the permissions to manage a domain
[ ] the read-only view is shown if a user only has view permissions to the domains (such as admins and read-only admins)
[ ] Note, the info message change and side nav change in this view
Additional context
permissions were handled in #2350 for the Domain table, follow what was done there.
Issue description
On the domain management pages, we will have users who only have the rights to see domain data and to not edit it. This is to give them insight into their domains without risking them changing things they aren't supposed to. We already have an editable portfolio view, and now we need that view to only show if the user has management permissions and change into a non edit view if the user has edit permissions.
Acceptance criteria
Additional context
permissions were handled in #2350 for the Domain table, follow what was done there.
Links to other issues