Install button is not disabled when installation of packages is not allowed #911
Labels
5 - Released
The issue has been resolved, and released to the public for consumption
Bug
Issues where something has happened which was not expected or intended
Milestone
What You Are Seeing?
When the allowed commands do not include the
install
command, and we are running through Chocolatey GUI is not launched as an administrator and the chocolateygui.extension is installed, the installation button is not disabled when it is supposed to (unlike the uninstall and the reinstall buttons) on the package details page.What is Expected?
The install button should be greyed out if the user can not use the command in question.
How Did You Get This To Happen? (Steps to Reproduce)
backgroundServiceAllowedCommands
to not include the commandinstall
Install
button can still be clicked.Additional note, the context menu is however still disabled as expected:
System Details
[System.Environment]::OSVersion.version.tostring()
): 10.0.19043.0$PSVersionTable
): 5.1.19041.1320choco --version
): 0.12.1Output Log
Not relevant as it is only a viewable change in the UI, not necessarily in the functionality.
The text was updated successfully, but these errors were encountered: