Re: Question about Authorization Manager



"John Parrish" <ask@xxxxxx> wrote in message
news:%23luPc0aNGHA.2884@xxxxxxxxxxxxxxxxxxxxxxx
Even with access checks being done only at the operation level, if I check
access on a task which is comprised only of 2 tasks,

At the AzMan level, checking access on a task is simply not possible. It is
only possible to check access to one or more operations.


each of which have operations, the security access application block WILL
throw an exception.. that is related to the code I had posted.

Could you please post the code that you are using to make this access check?
Also, could you please specify which release of the Enterprise Library you
are using?


I will post back on this, the issue I first posted was a completely
different problem. I tried to provide a breakdown of the task / operation
structure, the point is that by being granted rights to 1 operation which
is essentially 1 of 2 that define a task, and not being granted rights to
the other operation which is wrapped by the associated task, the call the
check access still returns true.

Again, please post the code that you have written to implement this access
check.


Thanks for the answer, I will provide more concrete information. I had
hoped not to have to use the AzMan COM API directly but I may have to in
order to decide if/where the security block is not correct.

Or you could just fix the security block implementation if it has a
problem...


.