No APT repo information for non-root on the web-GUI

NextTime

Active Member
Dec 20, 2017
14
3
43
Hi there!

Has anyone else noticed that a non-root user (even if it's an administrator) has problems accessing repository information in web-GUI of PMG version 7.0?
It simply does not appear on the dashboard, and in Administration\Repositories you get a "Permission check failed (403)" error message.
Code:
proxmox-mailgateway: 7.0-1
pmg-api: 7.0-7
pmg-gui: 3.0-4
pve-kernel-5.11: 7.0-6
pve-kernel-helper: 7.0-6
pve-kernel-5.11.22-3-pve: 5.11.22-7
clamav-daemon: 0.103.2+dfsg-2
ifupdown: 0.8.36
libarchive-perl: 3.4.0-1
libjs-extjs: 7.0.0-1
libjs-framework7: 4.4.7-1
libproxmox-acme-perl: 1.3.0
libproxmox-acme-plugins: 1.3.0
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.0-6
libpve-http-server-perl: 4.0-2
libxdgmime-perl: 1.0-1
lvm2: 2.03.11-2.1
pmg-docs: 7.0-2
pmg-i18n: 2.4-1
pmg-log-tracker: 2.2.0-1
postgresql-13: 13.3-1
proxmox-mini-journalreader: 1.2-1
proxmox-spamassassin: 3.4.6-3
proxmox-widget-toolkit: 3.3-6
pve-firmware: 3.2-4
pve-xtermjs: 4.12.0-1
zfsutils-linux: 2.0.5-pve1

Example:
Non-root user
Non-root1.png

Non-root2.png

Non-root3.png


And root
Root1.png

Root2.png

BR
 
Thanks sir, it works (after server restart)

Have a nice day!
the patch is not merged or packaged yet :)

it shoudl be fixed in the next version of pmg-api package (> 7.0-7)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!