I'm trying to follow the documentation (bits and pieces here and there) - and I modified the
ui_custom.xml and
roles_custom.xml files in the
customer_src/ directory structure - run '
make.sh' to copy them into the
customer/ directory structure and then run
install_webapps.ipl -f -i to rebuild the web applications to try and get the changes reflected in the UI.
My
ui_custom.xml looks something like this:
<iwov-ui>
<action-list id="iw.ccpro.filesys.menubar">
<menu id="iw.ccpro.file.menu">
<separator id="iw.ccpro.file_menu_4.separator"/>
<link id="cu.viewTouch.link" operationID="cu.viewTouch.op" .../>
<link id="cu.changepass.link" operationID="cu.changepass.op" .../>
<link id="cu.dirswitcher.link" operationID="cu.dirswitcher.op" .../>
<link id="cu.metadata.link" operationID="cu.metadata.op" .../>
<link id="cu.admindelete.link" operationID="cu.admindelete.op" .../>
<link id="cu.adminmove.link" operationID="cu.adminmove.op" .../>
<link id="cu.deletemeta.link" operationID="cu.deletemeta.op" .../>
<link id="cu.metadelete.link" operationID="cu.metadelete.op" .../>
<link id="cu.masschange.link" operationID="cu.masschange.op" .../>
<separator id="iw.ccpro.file_menu_5.separator"/>
<link id="cu.new_shown_env.link" operationID="cu.new_show_env.op" .../>
<link id="cu.old_shown_env.link" operationID="cu.old_show_env.op" .../>
</menu>
</action-list>
</iwov-ui>
My
roles_custom.xml file then looks like this:
<roles>
<role id="author">
<operation id="cu.admindelete.op" isPermitted="false"/>
<operation id="cu.adminmove.op" isPermitted="false"/>
<operation id="cu.deletemeta.op" isPermitted="false"/>
<operation id="cu.metadelete.op" isPermitted="false"/>
<operation id="cu.masschange.op" isPermitted="false"/>
</role>
<role id="editor">
<operation id="cu.admindelete.op" isPermitted="false"/>
<operation id="cu.adminmove.op" isPermitted="false"/>
<operation id="cu.deletemeta.op" isPermitted="false"/>
<operation id="cu.metadelete.op" isPermitted="false"/>
<operation id="cu.masschange.op" isPermitted="false"/>
</role>
<role id="admin">
<operation id="cu.metadelete.op" isPermitted="false"/>
<operation id="cu.masschange.op" isPermitted="false"/>
</role>
<role id="master">
</role>
</roles>
Authors and Editors correctly see only the first four (and last two) items, Masters correctly see everything, but for some reason Administrators seem to see only the first four (and last two) items instead of the first seven (and last two) items.
Anyone see what I'm doing wrong here - or is this a TS6 bug?
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com