robjschroeder / Elevate

Elevate is a script that can be ran from Jamf Pro to help elevate a standard user to admin for a specific amount of time
34 stars 5 forks source link

Warn if user is already a local admin #9

Closed mobofixer closed 1 year ago

mobofixer commented 1 year ago

If a user is already a local admin (prior to running the script) it would be nice if the script stopped running and let the user know they are already an admin and not demote them down to standard user.

robjschroeder commented 1 year ago

Good afternoon @mobofixer. Please check version 2.0.0-b1, if you do not desire admin rights to be removed set the appropriate variable to false, Elevate will not continue through the process if the user is already an admin user. It is expected in this case, the user will not see a timer session.

robjschroeder commented 1 year ago

This is resolved in version 2.0.0