Turn on ACLs on the server and configure ACL inheritance on the share to save the group access.
To turn on ACLs for the SMB shared folders, execute this command on the server:
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server AclsEnabled -bool YES