Try our conversational search powered by Generative AI!

Admin plugin redirects to startpage

Vote:
 

Im having some trouble with my current project where im trying to add an admin plugin.

When im trying to access the page in admin mode I just get redirected to the startpage. This seems to happend regardless if its a new adminplugin or an existing one like the SearchEngineSitemap plugin so theres nothing wrong with the plugin itself. It only seems to happen when i inherit from SystemPageBase but after looking at the code for SystemPageBase im not sure why.


I have been looking at the configuration for a while now without finding any solutions. Any tips on what to look at?

 

 

#61613
Sep 25, 2012 11:09
Vote:
 

Might be that you need to take a look at the roles "behind" CmsAdmins and CmsEditors...

<add name="CmsAdmins" type="EPiServer.Security.MappedRole, EPiServer" 
  roles="WebAdmins, Administrators" mode="Any" />
<add name="CmsEditors" type="EPiServer.Security.MappedRole, EPiServer"
  roles="WebEditors" mode="Any" />

    

#61638
Sep 26, 2012 10:18
Vote:
 

Im not quite sure what you mean could be wrong with the mapped roles but it is configured as your example, the default configuration. The roles exist and seem to be working.

#61664
Sep 26, 2012 16:37
Vote:
 

I have seen that places like the search settings admin view have "CmsAdmins" auth checks inside EPiServer's code so I thought that could be a possibility somewhere inside SystemPageBase as well.

#62156
Oct 16, 2012 9:21
* 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.