lizardsystem / lizard-auth-server

Django backend for the old SSO server
http://lizard-auth-server.readthedocs.io/
MIT License
2 stars 1 forks source link

UserProfile.all_organisation_roles(self, portal) should return distinct values #3

Closed byrman closed 8 years ago

byrman commented 11 years ago

UserProfile.all_organisation_roles(self, portal) does not return unique values. In the end, this results in many logically identical records in table lizard_auth_client_userorganisationrole, because it is lacking a unique index on (user_id, organisation_id, role_id).

reinout commented 8 years ago

Niet meer relevant in nieuwe versie.