This question is locked. New answers and comments are not allowed.
Hi,
We have a custom authorizeAttribute in our application such that if you are not login to our application, you'll get redirect to the login page.
It does it by returning false on AuthorizeCore when you are not login. Moreover, we still want to user to be able to click on the menu item so that the user can get redirect correctly. However, the NavigationItemAuthorization implementation will make the menu item invisible since AuthorizeCore returns false. Is there anyway to turn of Authorization checks for certain menu items?
Thanks!
We have a custom authorizeAttribute in our application such that if you are not login to our application, you'll get redirect to the login page.
It does it by returning false on AuthorizeCore when you are not login. Moreover, we still want to user to be able to click on the menu item so that the user can get redirect correctly. However, the NavigationItemAuthorization implementation will make the menu item invisible since AuthorizeCore returns false. Is there anyway to turn of Authorization checks for certain menu items?
Thanks!