This is an update to this pinned post, where samba's 'access based share enum' didn't appear to work.
It now does, so you can do the whole process a lot easier.
- Add access based share enum = yes to 'SMB/CIFS' -> 'Settings' -> 'Advanced settings' -> 'Extra options'
Anmerkung 2020-01-19 193712.png
- Now when you create a share within 'Shared Folders' make sure to give access rights to the relevant users by clicking the checkboxes under 'Privileges'
- When adding the share inside 'SMB/CIFS' -> 'Shares' set 'Public' to 'No'
- Now everything should work as intended, folders just show up for users that have access rights