If have a Role (eg DocAdmin) for users to access the webtop and upload/manage only documents. Is there an easy way to switch off the Tray on the front end for just users in that role?
Is the Tray bound by the permission to access the Webtop?
Is it perhaps a case of creating a new permission (eg viewTray) and then in
<cfif NOT application.security.checkPermission("viewTray")>
request.bHideContextMenu = true
Yep, that worked.
and added this into the _serverSpecificRequestScope.cfm :
<cfset request.bHideContextMenu = false>
<cfset request.bHideContextMenu = true>
Yep that’s it, an existing permission or a custom permission is the only way to do it for now. Nice one
I think in FC8 we’ll add a permission for the tray and some more configurability on the options that are available to users in the tray as well.