chocolatey / chocolatey-licensed-issues

Issues for Licensed Editions of Chocolatey
19 stars 13 forks source link

Self-Service - Add possibility to mark a package as user scope #185

Open pascalberger opened 3 years ago

pascalberger commented 3 years ago

While Chocolatey works well for system wide package management, some packages are working with local user context (e.g. packages installing apps from Microsoft Store, VS Code extensions, etc). These packages in most cases don't require admin permissions. Use case for self-service is often to give users without admin permissions to possibility to install packages, with a service running as a different user. When being in this setup the user-level packages will fail, while they still would be possible to execute under the current restricted user.

Proper solution would probably be #58, another maybe quicker fix, for this specific scenario could be to introduce a new metadata on package level to force package to always be installed on current user (like --run-actual does). Using the --run-actual parameter often doesn't work in these kind of scenarios, since it would require knowledge about package internals by the user, doesn't work with tools like Chocolatey GUI and also won't work when package is a dependency.

pascalberger commented 3 years ago

This issue came out of internal support request http://chocolatey.zendesk.com/hc/requests/8601