certat / do-portal

This project is in maintenance mode and will only receive bug fixes, but no new features. A new version of this software is being developed.
5 stars 5 forks source link

Organizations shown twice for unnecessary "Organisation Administrator" roles #99

Closed ghost closed 4 years ago

ghost commented 5 years ago

For user 13, the organizations page looks like this:

Organization 17 is listed twice. The memberships of user 13 are these:

The role "Organization Full Name 17 (Administrator Organisation)" may be the culprit here, as the user is allowed to see this organization anyway.

This bug may be a result of the fix for #91 (but the users can now see them)

I guess it is a backend issue, as the org is sent twice. If not, please reassign.

MarkHofstetter commented 4 years ago

tried but cannot reproduce: what steps have to be taken to come to this result?

ghost commented 4 years ago

tried but cannot reproduce: what steps have to be taken to come to this result?

As described above. User and Org ids are those on staging server

ghost commented 4 years ago

image

MarkHofstetter commented 4 years ago

I see the current situation but I am not able to reproduce it - please provide the steps to reproduce

ghost commented 4 years ago

To reproduce:

Just re-reproduced again on staging with user 527 and orgs 16 (parent) & 5075 (sub).

MarkHofstetter commented 4 years ago

tried it on most recent devel, cannot reproduce (maybe was resolved with some other bug) please try to reproduce on test instance - what I found that it is possible to create a membership twice which is a bug

ghost commented 4 years ago

Works as intended on testing, thanks.