Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Site Manager module in CMS Desk View modes: 
User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 12/19/2013 7:12:14 AM
   
Site Manager module in CMS Desk
I want to put the Email Queue module on in the CMSDesk. I've done the work of adding the link and whatnot to the UI and set the permissions (so I thought) but the user gets booted to the login screen every time they go to the Email Queue in the CMSDesk.

I'm guessing this is happening because the pages are inheriting the CMSDeskPage vs. the CMSAdministrationSharedPage class is this correct?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 12/19/2013 7:43:25 AM
   
RE:Site Manager module in CMS Desk
Hi,

Yes, you are right, the \CMSModules\EmailQueue\EmailQueue.aspx.cs is inheriting from SiteManagerPage class which is checking the user on global admin explicitly.

What may help is change the class inheritance e.g. to CMSToolsPage - and it will be checked as when adding a custom module to the Tools menu.

Note - there are more files involved in the e-mail queue interface so you may need to change the inheritance for them as well.

Best regards,
Juraj Ondrus

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 12/19/2013 8:22:48 AM
   
RE:Site Manager module in CMS Desk
Thanks for the confirmation Juraj.

I ended up using the CMSAdministrationSharedPage and CMSModalPage classes vs. the CMSToolsPage because I had already setup permissions to the CMSDesk>Administration section for other modules like Users and Email Templates

Note, I did make copies of the whole CMSModules/EmailQueue directory prior to making changes and referenced the changed files in the new location when I created the UI element in the Administration module.