warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
20.39k stars 337 forks source link

Allow updates using administrator credentials from non administrator accounts #3947

Open robbiemu opened 7 months ago

robbiemu commented 7 months ago

Discord username (optional)

No response

Describe the solution you'd like?

On the mac, update button appears regardless of account privileges, clicking it either directly installs the update (if administrator) or requests elevated privileges (a username and password modal is presented and after success, update installs.

Is your feature request related to a problem? Please describe.

Every time there is update, I have to download and overwrite, then relaunch the terminal, or else log out, log in as administrador, and then do the update from warp with no issues. Apps can apply these types of changes by requesting administrator access in an update (which I guess must be a separate process and this is why you are not doing it yet). This is really the standard in the mac environment, and warp should do it.

Additional context

No response

How important is this feature to you?

2

Warp Internal (ignore) - linear-label:770f6576-d6c0-4e4f-a259-fc64b5156087

None

dannyneira commented 7 months ago

Thanks for this feature request @robbiemu. I think this may be difficult to implement given some users don't get admin rights (especially on work machines). Please see our docs for any further issues with updating Warp without admin rights. https://docs.warp.dev/help/updating-warp#auto-update-issues

To anyone else interested in this feature, please add a :+1: to the original post at the top to signal that you want this feature, and subscribe if you'd like to be notified.

Macaldente commented 1 month ago

@dannyneira I really do not understand your reply to @robbiemu because he requested the other way round. It is not possible to install or update Warp by non-administators anyway.

We are talking about the absolutely normal way to authorize an application update by the admin-id and admin-password if the Warp user is an ordinary non-admin on a Mac. Every single application on a Mac I can install or update when logged in as a non-admin (= standard user account) by typing admin-id and admin-password.

It is a standard mode of authorization how every single Mac application asks for the authorization when updating any application – except Warp. Screenshot attached for a Brave browser update – in German.

It is hard to understand as Mac user that this auth-prompt is not shown for updating warp but I rather have to download Warp app image for every single Warp update.

admin authorization prompt for update on Mac by standard user
dannyneira commented 3 weeks ago

Understood @Macaldente, it's something we'd need to implement in Warp. It could be improved, but the manual updates are the only workaround, so we appreciate your patience.