I'm using drupal 7.69 and elFinder 2.1.46. A private page is showing elFinder browsing window with 2 root folders
root1 |-dir1 |-dir2 root2 |-dir3 |-dir4
I am trying to setup 2 roles:
- role 1 has r/w access to root1 and r/o access to root2
- role 2 has r/o access to root1 and r/w access to root2
I've gone through the Drupal permissions, but they apply to all folders and files served by elFinder. I've looked at profiles in Configuration > Media > elFinder, but it does not seem like there is anything about level of access in there. I have read through https://github.com/Studio-42/elFinder/wiki/Simple-file-permissions-control which advises to set the access rights in connector.php, but the Drupal module version also advises to delete connector.php after install for security purposes. Finally, older messages on gitlab seem to imply that there is no refined file-level permission control options in the Drupal module yet.
- Is it possible to set different access rights on folders (root folders at least) for different roles?
- If so, how is it done?