Ticket #115 (closed Defect: Software changed)
principalIsGroupMember doesn't do the right thing with the new directory service and principal APIs
|Reported by:||dreid@…||Owned by:||cdaboo@…|
It tries to find pincipal1 (which is a string principal URI) in a set of DirectoryPrincipalResources. In the future principal1 which comes from request.authzPrincipal will actually be a IDAVPrincipalResource, so it can just lookup the principal for the group which will and do in on the groupMembers set
For now however it should just lookup both principals and and do the comparison.
Also it's method signature is not very helpful, principal1, and principal2 are not very good variable names principal and group would be better.
- Status changed from new to assigned
- Milestone set to Preview 1
- Status changed from assigned to new
- Owner changed from wsanchez@… to cdaboo@…
- Status changed from new to closed
- Resolution set to fixed