mojosetup icon indicating copy to clipboard operation
mojosetup copied to clipboard

No formal way to test for admin rights...

Open SDLBugzilla opened this issue 3 years ago • 2 comments

This bug report was migrated from our old Bugzilla tracker.

Reported in version: unspecified Reported for operating system, platform: All, All

Comments on the original bug report:

On 2007-05-22 04:06:49 -0400, Ryan C. Gordon wrote:

There's no way to refuse to install a package if the installer isn't running as the superuser.

MojoSetup.info.isadmin should be a boolean of whether the given account has administrator rights, and there might be some use in having a formal attribute to Setup.Package that tests this...but then, what do you do if you have several Setup.Packages and only one needs admin?

Is "admin" enough, or should we deal with finer-grained rights?

--ryan.

SDLBugzilla avatar May 20 '22 17:05 SDLBugzilla