Fix bug that directory author cannot edit directory
Refactor privilege code in PluginFileDirectoryTable.class.php
Modify community directory privilege
Merge branch 'issue#9' into develop
Fix directory role
Merge branch 'issue#9' into develop