[ jEdit-devel ] [jedit:feature-requests] #357 Privilege escalation for editing files

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ jEdit-devel ] [jedit:feature-requests] #357 Privilege escalation for editing files

jedit-devel mailing list

For windows, you need to start Java already in escalated mode and then jEdit has permissions too. I don't know how to do it to a Java process while it is running.


[feature-requests:#357] Privilege escalation for editing files

Status: open
Group:
Created: Tue May 04, 2010 09:18 AM UTC by Victor Engmark
Last Updated: Tue May 04, 2010 09:18 AM UTC
Owner: nobody

When opening a file that is not writable by the current user, jEdit should check whether the user wants to open the file read-only or as superuser / another user. Here's an imagined workflow:
1. According to the principle of least privilege, start by notifying the user that the file cannot be modified with the current privileges. Ask if the user wants to open read-only or read-write (and maybe a check box to use the same option for all other files opened at the same time).
2. If the user selected read-write, display the users/groups which have write access and user/password boxes. If the user is also a member of sudoers, there could be a check box to use sudo which would gray out the user box and focus the password.


Sent from sourceforge.net because [hidden email] is subscribed to https://sourceforge.net/p/jedit/feature-requests/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Developers' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-devel