My users need to have acess to Settings -> StyleSheets in order to define styles for TinyMce but I don't want them to be able to modify document types and templates.
Is there a way to let them see Settings section but only StylSheets node?
Currently it is not possible to provide access to only the stylesheet folder in the settings section.
Another way around this could be to make it possible for the users to upload stylesheets on a certain document type instead and then fetch the uploaded file and place it after the default stylesheet to make sure it overrides the default styling (if it's something like that you have in mind).
You could add a custom section, and move style sheets to that section, allowing your users access to the section..
you just need to change the config/trees.config file, recycle your app, and then you should be able to add the user you want to access the new section and thus they have access to the stylesheets?
Permission to specific nodes in Settings section
Hi,
My users need to have acess to Settings -> StyleSheets in order to define styles for TinyMce but I don't want them to be able to modify document types and templates.
Is there a way to let them see Settings section but only StylSheets node?
Hi Nima
Currently it is not possible to provide access to only the stylesheet folder in the settings section.
Another way around this could be to make it possible for the users to upload stylesheets on a certain document type instead and then fetch the uploaded file and place it after the default stylesheet to make sure it overrides the default styling (if it's something like that you have in mind).
/Jan
Hi Jan,
I have a style sheet that is used in TinyMce and I want the user to be able to modify it:
I can have them upload the css file but then what? Do you mean I should parse the style and update cmsStylesheet and cmsStylesheetProperty tables?
Thanks a lot
You could add a custom section, and move style sheets to that section, allowing your users access to the section..
you just need to change the config/trees.config file, recycle your app, and then you should be able to add the user you want to access the new section and thus they have access to the stylesheets?
Thanks Mike that realy helped.
You must also change config/applications.config to create your new section.
Now I have my new section with only StyleSheets tree but there is a permission problem:
If the users have permission to settings then they can also see settings section which I didn't want.
Any suggestions?
is working on a reply...