sharing.smb.setacl

Set an ACL on share_name. This only impacts access through the SMB protocol.

share_name the name of the share

share_acl a list of ACL entries (dictionaries) with the following keys:

ae_who_sid who the ACL entry applies to expressed as a Windows SID

ae_who_id Unix ID information for user or group to which the ACL entry applies.

ae_perm string representation of the permissions granted to the user or group. FULL - grants read, write, execute, delete, write acl, and change owner. CHANGE - grants read, write, execute, and delete. READ - grants read and execute.

ae_type can be ALLOWED or DENIED.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: smb_setacl

smb_setacl

Type: object
No Additional Properties

Share Name

Type: string

Name of the SMB share.

Must be at least 1 characters long

Share Acl

Type: array
Default:
[ { "ae_perm": "FULL", "ae_type": "ALLOWED", "ae_who_sid": "S-1-1-0", "ae_who_id": null, "ae_who_str": null } ]

List of SMB share ACL entries

No Additional Items
Each item of this array must be:
Type: object

SMBShareAcl

Type: object
No Additional Properties

Share Name

Type: string

Name of the SMB share.

Must be at least 1 characters long

Share Acl

Type: array
Default:
[ { "ae_perm": "FULL", "ae_type": "ALLOWED", "ae_who_sid": "S-1-1-0", "ae_who_id": null, "ae_who_str": null } ]

List of SMB share ACL entries

No Additional Items
Each item of this array must be:
Type: object


Required roles: SHARING_SMB_WRITE