Fixes #326
Merge pull request #328 from nu-lts/feature/smart_folder_permissions

Fixes #326