Skip to content

When upgrading, "Install/Upgrade" privilege may have been previously lost #2359

@gloomytrousers

Description

@gloomytrousers

Raising this from https://bugzilla.redhat.com/show_bug.cgi?id=1670725

On Fedora 29, having upgraded from 1.2.0 to 1.2.1, after logging in (as "admin") I am presented with a screen:


There is an Installation or Upgrade in progress.

Only Cacti Administrators with Install/Upgrade privilege may login at this time

[Return | Login Again]

I cannot see any way past this screen to do the normal upgrade wizard.

This turned out to be because my user didn't have the "Installation/Upgrades" permission set. I was unable to correct this via the UI as I could not get past the upgrade screens, so in the end I downgraded to the previous version, granted the permission, and upgraded again.

This user has always been able to perform upgrades until now, and to the best of my knowledge I would never have explicitly disabled this permission. I am guessing this is a new-ish permission, which was not granted to existing users, and perhaps only enforced in an even more recent version. Whatever the cause, I think it's a poor user experience if upgrading from one version to the next causes the application to become inaccessible, and 'no users have permission to perform an upgrade' should be a condition that is detected and worked around in some way.

Metadata

Metadata

Assignees

Labels

blockerBlocking releasebugUndesired behaviour

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions