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)
Custom menu restricted from id
lizn
Is it possible to restrict menu items based on ID instead of roles?
I know it's possible to do something like this
<role id="master">
<operation id="adminUnlock.ccstd" isPermitted="false"/>
</role>
But i don't want to restict by author, editor, admin or master. i'd really like to do something like this:
<role id="id99999">
<operation id="adminUnlock.ccstd" isPermitted="true"/>
</role>
Find more posts tagged with
Comments
JonathonG
No. Menu items can only be restricted at the role level.
Jonathon
Interwoven Developer
Allstate, Inc.
Adam Stoller
You can restrict the ability to see / invoke the menu item by role - and the custom menu item script itself can then do further restrictions based on user or group information - as long as you code for it. (i.e. these are usually CGI scripts, and if you look through the data available to your CGI object you should have access to the userid who initiated the custom menu script - you could then do a lookup or some such against a config file to see if they're allowed to run the command, if not - gracefully error out)
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com