Ok - in short I think I was probably remembering the File-based
authorization details.
But yes, the new Hidden() method will do just fine.
I thought I was going crazy when I couldn't find it in the applib
documentation...
Thanks,
Kevin
On 8 Dec 2011 at 13:31, Dan Haywood wrote:
> I think that if a service is @Hidden, then it won't appear as an icon.
>
> So one option might be to code something in the new hidden() method just
> implemented might also work the same way (eg using
> container.getUser().hasRole("...") ).
>
> Another possibility is that the Authorization service could veto. The
> details will vary by impl, but I think the FileAuthorization service will
> consult the "allow" file and veto visibility if no matching role is present?
>