Skip to content
This repository has been archived by the owner on Jun 25, 2021. It is now read-only.

Config: Creating a new dashboard fails #70

Open
lars-sh opened this issue Sep 16, 2019 · 3 comments
Open

Config: Creating a new dashboard fails #70

lars-sh opened this issue Sep 16, 2019 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@lars-sh
Copy link
Member

lars-sh commented Sep 16, 2019

Creating a new dashboard requires a valid user ID for the owner, but the configuration page does not deliver one.

I can reproduce two other problems:

Create a dashboard via direct dashboard-link:
When creating the dashboard the roles in the UI are not properly reloaded. Each dashboard has its own set of roles which need to be transferred to the client if a new dashboard is created. As a result I (as a server admin) cannot configure the dashboard I just created.
Currently the work-around is: logging off and on again.

Creating dashboard via normal admin-UI:
For some reason the user is logged off when creating the dashboard. This might be a result of automatically reloading the roles in the UI (because the UI knows, that the roles change if a dashboard is created). If you log in again everything's fine.

In both cases the UI has set myself as the dashboard owner. And every server administrator is able to configure every dashboard - no matter whether he's owner or not.

@lars-sh lars-sh added the bug Something isn't working label Sep 16, 2019
@noxone
Copy link
Member

noxone commented Sep 17, 2019

I cannot reproduce this error using the latest UI version.
Could you please provide more details?

@lars-sh
Copy link
Member Author

lars-sh commented Sep 17, 2019

Hmm... I actually didn't test that one, but our internal dashboard instance. Maybe it's based on an old revision.

Can you reproduce the problem with that one?

@noxone
Copy link
Member

noxone commented Sep 17, 2019

I can reproduce two other problems:

  1. Create a dashboard via direct dashboard-link:
    When creating the dashboard the roles in the UI are not properly reloaded. Each dashboard has its own set of roles which need to be transferred to the client if a new dashboard is created. As a result I (as a server admin) cannot configure the dashboard I just created.
    Currently the work-around is: logging off and on again.

  2. Creating dashboard via normal admin-UI:
    For some reason the user is logged off when creating the dashboard. This might be a result of automatically reloading the roles in the UI (because the UI knows, that the roles change if a dashboard is created). If you log in again everything's fine.

In both cases the UI has set myself as the dashboard owner. And every server administrator is able to configure every dashboard - no matter whether he's owner or not.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants