Closed stefanolsen closed 3 years ago
Added to internal tracker
Fixed in next drop
Now it seems that instead of seeing an Access Denied page, I am redirected to the login page, even when I am logged in (but without the needed access roles.
Builds:
Please use applicationcookie options to set the path you want. We will set to login path if there is nothing set.
if (string.IsNullOrWhiteSpace(o.AccessDeniedPath)) { o.AccessDeniedPath = ModuleRouteConstants.DefaultLoginPath; }
Observations: When a user is logged into Episerver, but has no access roles for the particular area (or no roles at all), the user is redirected to
/Account/AccessDenied
. This is not an existing page and so an empty 404 page is rendered.Expected: The user should see a page with an error description. In previous Episerver versions, there was a default "Access Denied" page, which could also be overridden.
Builds: