Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
role restrictions for PT's?
ghost
Hi all,
i can configure certain datypes to be visible only for menbers of some roles by adding i.e. the following in the templating.cfg after the starting <datatype> tag.
<allowed>
<or>
<cred role="admin" />
<cred role="master" />
</or>
</allowed>
This works fine. Now i'm looking for a way to make just some presentation templates visible for some roles. For example if i have datatype x and a user want's to generate or preview a dcr i want an author to see one.tpl and a master to see another.tpl.
anyone an idea how to get tihs?
thx 4 any hint
G.
Find more posts tagged with
Comments
Adam Stoller
At this time, it looks as if the allowed element can only be used at the data-type level in templating.cfg.
You may be able to put some code into the PT itself that will, after-the-fact, determine whether the user / role has the "right" to use that template, but otherwise I'd suggest you contact Interwoven Support and ask to have a Feature Request opened for this functionality (if one doesn't already exist?)
--fish
(Interwoven Senior Technical Consultant)