equinor / energyvision

Home of the equinor.com website
https://www.equinor.com
MIT License
33 stars 8 forks source link

Explore if some components could be available only for spesific roles #1891

Open meols opened 1 year ago

meols commented 1 year ago

E.g. can the some of the banner components be available only for a designer role (for 2-3 people)

When setting readOnly: true for the for the following items, they are still editable.

fernandolucchesi commented 8 months ago

We can :D should we close this? @meols

padms commented 1 week ago

@meols I would suggest creating a new template that isolates normal page with those of pages that have special components ( those that only designer can create). In our case topic content can stay as it is now.. we will create a new template called "Special topic" with all the components related to topic page + campaign related option and others like the banners. This way we can restrict access to these components at document level.. unlike component level.

This is to avoid the following situations

padms commented 1 week ago

Bug related to copy paste menu and read only field reported to sanity. Waiting for a fix here.