Greetings everyone. Very interesting issue with users in Administrators role not being able to access their own user folder.
I've been using slightly modified version of DAM module but after I replaced my dll with original one from 7.3.3 upgrade packed the issue still persists.
I've spent a day looking trying to trace the root cause of this problem with no success. But I have noticed something very interesting with FolderPermission table.
On my dev which is a fresh install of 7.3.3
- I don't get a FolderPermission record with AlloAccess=0 for Administrators role
- When I refresh the page the FolderPermissionID stays put.
On few client sites that we upgraded to 7.3.3
- I have a FolderPermission record with AllowAccess=0 for Administraotrs role
- When I refresh the page entire set of permissions for a given user folder (Users/005/05/5/ and every containing folder) gets wiped and reinserted again hence incrementing FolderPermissionID value.
It doesn't seem to be a problem with DAM module as we run modified version of dll. So the question them becomes what else would display such a behaviour of removing folder permission from the table and inserting them again every time a page is refreshed.
To replicate the problem:
- Add a page under Activity-Feed with DAM
- Crate new user
- Login as new user and visit Activity-Feed with DAM module to create that users folder
- Add that user too Administrators role
- Go back to Activity-Feed with DAM module
expected result:
User should be able to access their own folder and files
actual result:
user see blank DAM module and no right click context controls