You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using GrapesJs as a template builder in my application. The workflow for creating a template in my application is as follows: the admin creates a template by structuring it, specifying where the title should be, where the image should go, and defining the styling of the template(basically the structure of the template). Afterward, the template is saved in the database. These templates created by the admin can then be used by privileged users to create campaigns.
I want that once the admin has created any template, and if any privileged users try to create a campaign using it, they should only be able to edit the placeholder or the contents of the components that the admin has created or change the styling of the component. The privileged user should not be able to add new components or delete any components set by the admin. How can I achieve this?
If this is my GrapesJs template builder component code:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am using GrapesJs as a template builder in my application. The workflow for creating a template in my application is as follows: the admin creates a template by structuring it, specifying where the title should be, where the image should go, and defining the styling of the template(basically the structure of the template). Afterward, the template is saved in the database. These templates created by the admin can then be used by privileged users to create campaigns.
I want that once the admin has created any template, and if any privileged users try to create a campaign using it, they should only be able to edit the placeholder or the contents of the components that the admin has created or change the styling of the component. The privileged user should not be able to add new components or delete any components set by the admin. How can I achieve this?
If this is my GrapesJs template builder component code:
Beta Was this translation helpful? Give feedback.
All reactions