I remember this being a problem in older versions of DNN - Even Admin members would have problems getting into Folders to add or use images. I used to be able to just go to the (Telerik) File Manager, right click the root level folder, make some permission change and save, cascade those down to other folders and it would fix the issue, even if there was no actual permission change.
Now with the new Resource Manager, I do see a place to set permissions, but not to inherit those down to other folders. I tried adding permissions for this user as an individual, and it just gives and error message.
Is there a way to manage or fix this in the DNN tables in SQL?
Thanks! David
I had the same issue and found a script to correct this from the excellent DNN Turbo Scripts by Sebatain Leupold:
https://github.com/dnnwerk/dnnScript
I used this:
MERGE INTO [FolderPermission] X USING (SELECT F.FolderID, R.PermissionID, P.AdministratorRoleId AS RoleID FROM [Folders] F JOIN [Portals] P ON F.PortalID = P.PortalID CROSS JOIN [Permission] R WHERE R.PermissionCode LIKE N'SYSTEM_FOLDER') S ON X.FolderID = S.FolderID AND X.PermissionID = S.PermissionID AND X.RoleID = S.RoleID WHEN MATCHED AND AllowAccess = 0 Then UPDATE SET AllowAccess = 1 WHEN NOT MATCHED THEN INSERT ( FolderID, PermissionID, AllowAccess, RoleID, UserID, CreatedByUserID, CreatedOnDate, LastModifiedByUserID, LastModifiedOnDate) VALUES (S.FolderID, S.PermissionID, 1, S.RoleID, Null, -1, GetDate(), -1, GetDate()); GO
Thanks so much, Timo! I'll give this a try!
David
Michael TobischDNN★MVP
This problem seems to be gone with the upgrade to DNN 9.11
Awesome to hear that, Aderson! I saw something about permissions mentioned in the release notes and wondered if that was the same issue. Thanks for sharing.
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.