Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

How to limit editor's access to fields in translated pages ?


Reply


353 Views

Avatar
lise

Community Member, 47 Posts

22 November 2011 at 6:05pm

Edited: 22/11/2011 6:27pm

Hello,

I am struggling with the following "security/access control" problem:
I have a page "About Us" with a has_one() relationship to an Image. This image is uploaded via the CMS .

When I create a translation of "About Us" , the image is "copied" to the translated page and can be modified in each
translated version. How can I restrict this and make sure that editors can *not* change the image?

A workaround is to create a "invisible/dummy" page which contains data which are not translated but there
are many and it makes more sense to have the images stored with the other fields of the page.

Any suggestion would be highly appreciated.
Thanks,
Lise