Class: Ansible::Ruby::Modules::Win_acl
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Win_acl
- Defined in:
- lib/ansible/ruby/modules/generated/windows/win_acl.rb
Overview
Add or remove rights/permissions for a given user or group for the specified file, folder, registry key or AppPool identifies. If adding ACL’s for AppPool identities (available since 2.3), the Windows Feature “Web-Scripting-Tools” must be enabled.
Instance Method Summary collapse
-
#inherit ⇒ :ContainerInherit, ...
Inherit flags on the ACL rules.,Can be specified as a comma separated list, e.g.
-
#path ⇒ String
The path to the file or directory.
-
#propagation ⇒ :InheritOnly, ...
Propagation flag on the ACL rules.,For more information on the choices see MSDN PropagationFlags enumeration at U(msdn.microsoft.com/en-us/library/system.security.accesscontrol.propagationflags.aspx).
-
#rights ⇒ Array<String>, String
The rights/permissions that are to be allowed/denied for the specified user or group for the item at C(path).,If C(path) is a file or directory, rights can be any right under MSDN FileSystemRights U(msdn.microsoft.com/en-us/library/system.security.accesscontrol.filesystemrights.aspx).,If C(path) is a registry key, rights can be any right under MSDN RegistryRights U(msdn.microsoft.com/en-us/library/system.security.accesscontrol.registryrights.aspx).
-
#state ⇒ :absent, ...
Specify whether to add C(present) or remove C(absent) the specified access rule.
-
#type ⇒ :allow, :deny
Specify whether to allow or deny the rights specified.
-
#user ⇒ String
User or Group to add specified rights to act on src file/folder or registry key.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#inherit ⇒ :ContainerInherit, ...
Returns Inherit flags on the ACL rules.,Can be specified as a comma separated list, e.g. C(ContainerInherit), C(ObjectInherit).,For more information on the choices see MSDN InheritanceFlags enumeration at U(msdn.microsoft.com/en-us/library/system.security.accesscontrol.inheritanceflags.aspx).,Defaults to C(ContainerInherit, ObjectInherit) for Directories.
33 |
# File 'lib/ansible/ruby/modules/generated/windows/win_acl.rb', line 33 attribute :inherit |
#path ⇒ String
Returns The path to the file or directory.
13 |
# File 'lib/ansible/ruby/modules/generated/windows/win_acl.rb', line 13 attribute :path |
#propagation ⇒ :InheritOnly, ...
Returns Propagation flag on the ACL rules.,For more information on the choices see MSDN PropagationFlags enumeration at U(msdn.microsoft.com/en-us/library/system.security.accesscontrol.propagationflags.aspx).
37 |
# File 'lib/ansible/ruby/modules/generated/windows/win_acl.rb', line 37 attribute :propagation |
#rights ⇒ Array<String>, String
Returns The rights/permissions that are to be allowed/denied for the specified user or group for the item at C(path).,If C(path) is a file or directory, rights can be any right under MSDN FileSystemRights U(msdn.microsoft.com/en-us/library/system.security.accesscontrol.filesystemrights.aspx).,If C(path) is a registry key, rights can be any right under MSDN RegistryRights U(msdn.microsoft.com/en-us/library/system.security.accesscontrol.registryrights.aspx).
29 |
# File 'lib/ansible/ruby/modules/generated/windows/win_acl.rb', line 29 attribute :rights |
#state ⇒ :absent, ...
Returns Specify whether to add C(present) or remove C(absent) the specified access rule.
21 |
# File 'lib/ansible/ruby/modules/generated/windows/win_acl.rb', line 21 attribute :state |
#type ⇒ :allow, :deny
Returns Specify whether to allow or deny the rights specified.
25 |
# File 'lib/ansible/ruby/modules/generated/windows/win_acl.rb', line 25 attribute :type |
#user ⇒ String
Returns User or Group to add specified rights to act on src file/folder or registry key.
17 |
# File 'lib/ansible/ruby/modules/generated/windows/win_acl.rb', line 17 attribute :user |