FreeNAS/freenas b3454fdgui/sharing models.py, gui/sharing/migrations 0017_add_share_acl.py

Make smb plugin aware of share acls
smb.sharesec.getacl - returns ACL of share specified as argument 1.
smb.sharesec.setacl - sets an ACL on a share (both in share_info.tdb and cifs_share_acl)
smb.sharesec.synchronize_acls - writes the ACLs backed up in cifs_share_acl to share_info.tdb if
    share_info.tdb is empty. This can happen if boot device fails or post-upgrade. Otherwise,
    this call will update the database with the ACL stored in share_info.tdb if there is a
    discrepency between the two.

Preference is given to the running copy of share_info.tdb because it may be modified
by SMB clients.
DeltaFile
+237-1src/middlewared/middlewared/plugins/smb.py
+18-0gui/sharing/migrations/0017_add_share_acl.py
+5-0gui/sharing/models.py
+260-13 files

UnifiedSplitRaw