Try our conversational search powered by Generative AI!

Override authorization for "Access rights" on a page


Hi all,

Is there a way to override the authorization made by OnAuthorization then setting restrictions via "Access rights" on a page in the CMS?  

Aug 22, 2019 11:23

Hello Ola

What is the problem you are trying to solve?


Aug 22, 2019 13:30

Hi David, 

We have a problem then logging in with Azure AD account. The authorization is made before the user gets logged in, so I am wondering if there is a way to override this authorization?

Aug 22, 2019 13:44

David, is there any other way to override Access Rights behavior on a certain page type?

I want the access rights to still be set as usual, but instead of redirecting to login I want to still render the page, just with a flag set in the Model to only render certain portions on the view. I was looking at overriding OnAuthorization at the controller level, but I still get redirected to login.

Nov 22, 2019 20:08
* 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.