Sebastian Leupold wrote
please enter page settings and save it, same with module settings. There might be permission records missing which should be fixed by saving settings.
Thanks for the suggestion Sebastian, but unfortunately it didn't work.
I carried the idea one step further though, I changed the page permissions so that all users could view the page. I unclicked the inherit permissions for the module and also allowed the module to be viewed by all users. When logged in as someone in the Administrators role or logged in as host, I still get the same error when trying to view the Admin | File Manager module. But when I am logged out, I can see the module just fine and can browse through all of the directories listed in the Portal Root. This doesn't make sense to me at all.
I think you were right in your supposition that maybe the permission records weren't written to the tables. When I looked at the tables after following your suggestion, the TabPermissionID and the ModulePermissionID were numbered such that it looks like these entries were just added.
Here are the Tab Permissions for TabID=52 (the File Manager page) from the dbo.TabPermissions table (ORDERed BY TabID, PermissionID):
TabPermissionID |
TabID |
PermissionID |
AllowAccess |
RoleID |
UserID |
CreatedByUserID |
|
|
|
12179 |
52 |
3 |
True |
0 |
NULL |
1 |
11/16/2009 11:19:19 AM |
1 |
11/16/2009 11:19:19 AM |
12181 |
52 |
3 |
True |
-1 |
NULL |
1 |
11/16/2009 11:19:19 AM |
1 |
11/16/2009 11:19:19 AM |
12180 |
52 |
4 |
True |
-1 |
NULL |
1 |
11/16/2009 11:19:19 AM |
1 |
11/16/2009 11:19:19 AM
|
Here are the Module Permissions for ModuleID=369 (the File Manager module on the File Manager page) from the dbo.ModulePermissions table (ORDERed BY ModuleID, PermissionID):
ModulePermissionID |
ModuleID |
PermissionID |
AllowAccess |
RoleID |
UserID |
CreatedbyUserID |
|
|
|
15240 |
369 |
1 |
True |
0 |
NULL |
1 |
11/16/2009 11:26:55 AM |
1
|
11/16/2009 11:26:55 AM |
15242 |
369 |
1 |
True |
-1 |
NULL |
1 |
11/16/2009 11:26:55 AM |
1 |
11/16/2009 11:26:55 AM |
15241 |
369 |
2 |
True |
-1 |
NULL |
1 |
11/16/2009 11:26:55 AM |
1 |
11/16/2009 11:26:55 AM |
As you can see I have both tables ORDERed so that I know I am seeing all the records for the Tab and the Module. It makes no sense to me why it works fine for All Users, but won't display for Adminsitrators or hosts.
Any further insight would be appreciated.
Raymond Weiler
Technical Support
Commerce Technology International