Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Using <allowed> subelements in DCTs
Bjorn
6.1 on a Windows 2k3 box. Using 6.0 dtd.
Right now, you can only do "filtering" (using "allowed" tag) at the instance level.
For example:
<item name="duh1" path="duh1">
<label>Duh 1</label>
<text maxlength="0" size="10">
<allowed>
<not>
<cred role="author"/>
</not>
</allowed>
</text>
</item>
But I have a choice element that's giving the user a choice at 3 different types of items. It's important that our author role not be able to choose the type of item available from the choice element, but rather leave that up to the editor.
Basically, I want more control over what roles can do what in the DCT. It's not enough for me to control this at the lowest level.
In my perfect little world, I'd want it to look like this:
<choice name="choose">
<label>Choose</label>
<allowed>
<not>
<cred role="author"/>
</not>
</allowed>
<item name="duh1" path="duh1">
<label>Duh 1</label>
<text maxlength="0" size="10" />
</item>
<item name="duh2" path="duh2">
<label>Duh 2</label>
<text maxlength="0" size="10" />
<callout...>
</item>
</choice>
This would allow an author to still edit the item, but the "type" of the item (basically, which item within the choice element) could only be changed by an editor+ role.
Any ideas?
Find more posts tagged with
Comments
There are no comments yet