summaryrefslogtreecommitdiff
path: root/lib/chef/mixin/user_context.rb
Commit message (Collapse)AuthorAgeFilesLines
* Style/NegatedIfLamont Granquist2019-07-051-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Change some more require to require_relativeLamont Granquist2019-05-101-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Fixed/added specs for LogonSession changesnimisha2018-01-241-3/+5
| | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
* Brought back Chef::Win32::Security functional test for running as a non ↵nimisha2018-01-241-2/+3
| | | | | | admin user Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
* Chef::ReservedNames::Win32::Security.has_admin_privileges? prints a debug ↵nimisha2018-01-241-1/+1
| | | | | | message that contains token elevation information Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
* Fix remote_file with UNC paths failingnodes_not_hereTim Smith2017-10-191-1/+1
| | | | | | | | | | Our check here to see if we're on Windows uses node data that's not available in this context. Use the same Chef::Platform.windows? check we use above. Without this you get the following error: [2017-10-02T21:40:42+00:00] DEBUG: Re-raising exception: NameError - remote_file[c:/foo/bar] (foo::default line 14) had an error: NameError: undefined local variable or method `node' for #<Chef::Provider::RemoteFile::NetworkFile:0x00000000064c0148> Signed-off-by: Tim Smith <tsmith@chef.io>
* Fixing specsnimisha2017-09-051-1/+1
| | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
* Added define_resource_requirement and some other validationsnimisha2017-09-051-0/+4
| | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
* Alternate user local logon authenticationnimisha2017-09-051-15/+1
| | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
* Alternate user remote file code review feedbackadamedx2017-09-051-2/+2
|
* Access remote_file resource source files as alternate user on Windowsadamedx2017-09-051-1/+1
| | | | | Conflicts: spec/support/shared/functional/execute_resource.rb
* Windows thread alternate user impersonation supportadamedx2017-09-051-0/+62