Hi,
is it possible to create your own permission so that an "editor"-user can only change some of the system settings (that are all in the same section)? One can create new system settings, but I don’t see a possibilty to create a permission policy that gives a user access to a subset of system settings.
I use Revolution 2.0.6-pl2.
Thanks in advance for replies!
Markus
I don’t think it’s possible because in Revolution, there are no system events that I know of fired when the System Settings form is rendered or saved -- I could be wrong.
If I’m right, it would be a good feature request for:
OnSystemSettingsFormPrerender,
OnSystemSettingsFormRender,
OnBeforeSystemSettingsFormSave,
OnsystemSettingsFormSave.
Then you could write a plugin to either hide those settings or prevent the user from saving changes to them.
Maybe a CMP can do the trick.
Quote from: cipa at Apr 04, 2011, 07:54 PM
Maybe a CMP can do the trick.
Great idea. You could create a system setting grid just for that user containing only the selected system settings.
Yes, that is really a great idea. Nevertheless I still have to learn how to create an individual CMP, but I will dive into it. Thanks!
Just install Doodles package and modify it to your needs.
I think the easiest way is to hard code the values changeable by the user. You also need to modify the part that saves to the database