smal change in IndexOperationsControl.RenderRow
You could do a little modification to the IndexOperationsControl.RenderRow method, so that no row for an operation is rendered if no formats are available in the calling scenario.
Currently, if I protect an operation with
[Restrict(VisibilityTo = RequestAttributes.InternalNetworkAccess | RequestAttributes.AnyFormat)]
and i connect from an external network I see the operation with all formats disabled. It would be better not to see the operation at all.
1
vote

-
Can you check that you're not in DebugMode? as when there are no visible operations the operation should already be omitted.