diff options
author | sersut <serdar@opscode.com> | 2013-01-14 16:21:17 -0800 |
---|---|---|
committer | sersut <serdar@opscode.com> | 2013-01-22 10:53:11 -0800 |
commit | 712a17926874f023955fae3f99e5b1f588f86614 (patch) | |
tree | 8bb21360589aff2b1435535d33e2de04806cb6a3 /lib/chef/win32/security.rb | |
parent | 7c6e10eac92d8e638953a70dd41cfac77cb366cd (diff) | |
download | chef-712a17926874f023955fae3f99e5b1f588f86614.tar.gz |
Introducing windows_admin_check and config option to make it fatal.
Diffstat (limited to 'lib/chef/win32/security.rb')
-rw-r--r-- | lib/chef/win32/security.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/chef/win32/security.rb b/lib/chef/win32/security.rb index b7b14c5652..9d454a31f6 100644 --- a/lib/chef/win32/security.rb +++ b/lib/chef/win32/security.rb @@ -478,6 +478,12 @@ class Chef token.adjust_privileges(old_privileges) end end + + # Checks if the caller has the admin privilages in their + # security token + def self.has_admin_rights? + false # DO THE ADMIN CHECK HERE + end end end end |