Kevin, I was looking over the code; it seems (rather shamefully) that there are no unit tests for this code. This might be an oppo to develop some?
At any rate, perhaps you might raise a JIRA ticket to do so? Might be something we could ask for a contribution from someone in the community...? Cheers Dan On 12 December 2011 10:03, Kevin Meyer - KMZ <[email protected]> wrote: > I'm trying to hide a service based on role, and I thought the file > authorizer was supposed to facilitate this. > > I have a service that creates records, but must be hidden from > everyone except system admins. > > In my allow file, I have: > fixture.saip.oms.Importing:SYSTEM_ADMIN > > In my disallow file, I have: > fixture.saip.oms.Importing:NONE > > I tried a disallow with no allow, but the service is always visible. > > In fact, setting a breakpoint in the isUsableInRole and isVisibleInRole > methods shows that the methods are never called. > > A boot log trace shows that the module is loaded and parsed. > > Any hints? > >
