sipcapture / homer-app

HOMER 7.x Front-End and API Server
http://sipcapture.io
GNU Affero General Public License v3.0
204 stars 79 forks source link

Multiple copies of default dashboard are created on first LDAP user login #456

Closed gedia closed 1 year ago

gedia commented 2 years ago

Hello,

As stated in #455 upon first login of a user with auth_settings.type: "ldap", multiple copies of default dashboards are created (by default, I mean the following two: home and smartsearch).

This is regardless of whether the user is in the admins or the users group. Also, providing a custom Home (e.g. at /usr/local/homer/etc/dashboard_home.json) doesn't make a difference, I'm clarifying this to avoid confusion because I referenced #455 earlier.

What's more worrying is the reproducibility of this bug for me. The number of duplicates is not always constant, sometimes two copies are created, sometimes three or four, even for the same user (after deleting these dashboards, clearing local data, logging out and in again). The only reproducible behaviour for me right now seems to be that duplicates are always created, but their number seems random to me at this point.

adubovikov commented 2 years ago

@gedia can you confirm the version of hepic-app ?

gedia commented 2 years ago

Sorry, forgot to mention. It's on 1.4.25

adubovikov commented 2 years ago

couldn't reproduce it using internal and oauth2

kYroL01 commented 1 year ago

Closing for inactivity. Please re-test with the latest Homer version and in case let us know how to reproduce it exactly. Thanks