I am using the KF impl. I thought I understood the model, but maybe I'm
wrong, so I wanted to check here first.

I have a User who implies a basic membership of both GroupA and GroupB
(not a direct member, but membership is implied).
(Tested and both evaluate to hasRole=true)

Both GroupA and GroupB and required members of TargetGroup.
(Also checked, and they really are members)

So, if both GroupA and GroupB are required members of TargetGroup, and I
can verify that:

  userAuth.hasRole( groupA.id ) == true

     &&

  userAuth.hasRole( groupB.id ) == true

Should this then not evaluate to true??

  userAuth.hasRole( targetGroup.id );


It evaluates to false in my case...

Am I misunderstanding something, or do I need to signal a bug for the KF
code?


Thanks!
=dml



_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to