November Happy Hour will be moved to Thursday December 5th.

Problems with user permissions for EpiServer Mail

Vote:
 

Hello!

I'm having problems allowing more users to access the EpiMail-tab in CMS 6 R2 except my own superadmin-user. I have created a MailAdmins role and added permisson to EpiMail in .config. Since my superadmin-user have access I tried to add the exact same roles and permissions to another user but it won't work. Any ideas?

<episerver.mail configSource="EPiServerMail.config" />
<location path="EPiServerMail">
<system.web>
<authorization>
<allow roles="MailAdmins, SuperAdmin" />
</authorization>
</system.web>
</location>
<location path="EPiServerMail/Public">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>

#76381
Oct 23, 2013 15:32
Vote:
 

Use a tool like dot net reflector and have a look at class MailMenuProvider in assembly EPiServer.Mail.Core.Web.

As you can see, the menu is filtered using EPiServer Common Framework roles (in EPiServer.Mail.Core.Security.SecurityHandler).

To add access to more roles you need to add them to the existing group MailAdmins and MailEditors using EPiServer Common Framework's security user interface. 

#76441
Oct 24, 2013 15:29
This thread is locked and should be used for reference only. Please use the Legacy add-ons forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.