Class: Ansible::Ruby::Modules::Win_acl

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/windows/win_acl.rb

Overview

Add or remove rights/permissions for a given user or group for the specified src file or folder.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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 (Ex. “ContainerInherit, ObjectInherit”). For more information on the choices see MSDN InheritanceFlags Enumeration.

Returns:

  • (:ContainerInherit, :ObjectInherit, :None, nil)

    Inherit flags on the ACL rules. Can be specified as a comma separated list (Ex. “ContainerInherit, ObjectInherit”). For more information on the choices see MSDN InheritanceFlags Enumeration.



31
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_acl.rb', line 31

attribute :inherit

#pathString

Returns File or Directory.

Returns:

  • (String)

    File or Directory



11
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_acl.rb', line 11

attribute :path

#propagation:None, ...

Returns Propagation flag on the ACL rules. For more information on the choices see MSDN PropagationFlags Enumeration.

Returns:

  • (:None, :NoPropagateInherit, :InheritOnly, nil)

    Propagation flag on the ACL rules. For more information on the choices see MSDN PropagationFlags Enumeration.



35
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_acl.rb', line 35

attribute :propagation

#rights:AppendData, ...

Returns The rights/permissions that are to be allowed/denyed for the specified user or group for the given src file or directory. Can be entered as a comma separated list (Ex. “Modify, Delete, ExecuteFile”). For more information on the choices see MSDN FileSystemRights Enumeration.

Returns:

  • (:AppendData, :ChangePermissions, :Delete, :DeleteSubdirectoriesAndFiles, :ExecuteFile, :FullControl, :ListDirectory, :Modify, :Read, :ReadAndExecute, :ReadAttributes, :ReadData, :ReadExtendedAttributes, :ReadPermissions, :Synchronize, :TakeOwnership, :Traverse, :Write, :WriteAttributes, :WriteData, :WriteExtendedAttributes)

    The rights/permissions that are to be allowed/denyed for the specified user or group for the given src file or directory. Can be entered as a comma separated list (Ex. “Modify, Delete, ExecuteFile”). For more information on the choices see MSDN FileSystemRights Enumeration.



27
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_acl.rb', line 27

attribute :rights

#state:present, ...

Returns Specify whether to add C(present) or remove C(absent) the specified access rule.

Returns:

  • (:present, :absent, nil)

    Specify whether to add C(present) or remove C(absent) the specified access rule



19
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_acl.rb', line 19

attribute :state

#type:allow, :deny

Returns Specify whether to allow or deny the rights specified.

Returns:

  • (:allow, :deny)

    Specify whether to allow or deny the rights specified



23
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_acl.rb', line 23

attribute :type

#userString

Returns User or Group to add specified rights to act on src file/folder.

Returns:

  • (String)

    User or Group to add specified rights to act on src file/folder



15
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_acl.rb', line 15

attribute :user