Hi,
I want to restrict author and editors for expiry_date field. Author and editors can see the field but they should not be able to change.
I want to give edit access only for Super editors, therefore i have applied some restriction in DCT.
but due to this restriction DCT expiry_date field is hidden for Author and Editors.
I am looking for functionality that Author and Editors can see field but cant edit that(ReadOnly for them).Please suggest.
<item name="expired_date">
<label>Expired Date</label>
<hidden>
<allowed>
<or>
<cred role="author" />
<cred role="editor" />
</or>
</allowed>
</hidden>
<text maxlength="30" size="30" required="t" readonly="t">
<cgi-callout url="/iw-bin/btgsportal/templating/metadata/calendar_callout.cgi/allow_past_dates=0" label="Calendar" window-features="width=200,height=230,resizable=no,toolbar=no,scrollbars=no,titlebar=no"/>
</text>
</item>