GChristensen / scrapyard

Bookmark heavy lifting
GNU General Public License v2.0
73 stars 8 forks source link

Installing backend as admin won't work for active user #80

Closed theelectricsoul closed 1 year ago

theelectricsoul commented 1 year ago

Hello

Thank you for Scrapyard :)

Scenario I am User A and need the backend installed. I can only install software as user B. So I start the installation and am being asked for admin credentials. I type in the credentials of user B and finish the installation.

Problem After the installation user A still has no access to the backend. Firefox ist prompting an error. I tried restarting FF.

image

theelectricsoul commented 1 year ago

image

GChristensen commented 1 year ago

Hi, Firefox can only know about the backend through the Windows registry, and the installer has written everything into the registry of user B.

You may try to import a .reg file with the following content:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Mozilla\NativeMessagingHosts\scrapyard_helper]
@="...path to manifest.json in the backend installation folder, the use of \\ as path separators is mandatory ..."
theelectricsoul commented 1 year ago

I can manage... however... most won't :) Other would need to contact the IT department.

Additionally the user needs to have elevated user rights for installtion. This plugin might be a no go for companies, because of security concerns. Maybe there is a way to simply install the executeables into the users profile without the need for higher permissions.

Thank you for your work.