Skip to content

Multiple administrators issue counting hosts #565

@GlennKoning

Description

@GlennKoning

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image? Yes
  • Are you sure you're not using someone else's docker image? Yes
  • If having problems with Lets Encrypt, have you made absolutely sure your site is accessible from outside of your network? Not the issue.

Describe the bug

When logged in with one administrator the counters on the dashboard only count the hosts this administrator added.
You can only see other hosts if you click on it, these are made by other administrators.

Also there was reported a other bug when you delete a administrator the dashboard wouldn't work, think this is related.

Version: V2.4.0

To Reproduce

  1. Add multiple administrators
  2. Add some hosts with different administrators
  3. The counters of hosts only count the hosts added with the current logged on administrator.

Expected behavior
Every administrator should see in the counter the number of total added hosts, doesn't matter by which administrator.
Also when you delete a administrator this shouldn't make a problem with his added hosts.

Screenshots
image
image

Operating System
CentOS 8 with docker.

Additional context
Client: Docker Engine - Community
Version: 19.03.12
API version: 1.39
Go version: go1.13.10
Git commit: 48a66213fe
Built: Mon Jun 22 15:46:54 2020
OS/Arch: linux/amd64
Experimental: false

Server: Docker Engine - Community
Engine:
Version: 18.09.1
API version: 1.39 (minimum version 1.12)
Go version: go1.10.6
Git commit: 4c52b90
Built: Wed Jan 9 19:06:30 2019
OS/Arch: linux/amd64
Experimental: false

Browser version: Chrome 84.0.4147.125

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions