Authorize View

How To Authorize View for specific item in sidebar using treeview. 

For Setting i want only Administrator Roles that can view. I usually using [Authorize View] attrribute. But how can i implement authorize view attribute within sf sidebar using tree view?

1 Reply 1 reply marked as answer

IL Indhumathy Loganathan Syncfusion Team March 30, 2021 02:06 PM UTC

Hi Indra, 
 
Greetings from Syncfusion support. 
 
We have validated your requirement in Sidebar component. We understood that you want to authorize the TreeView inside the Sidebar, so only the authorized users can view the Sidebar content. We have rendered the Sidebar as a normal razor component. So, you can perform authorization inside Sidebar component before rendering the TreeView component. 
 
Please let us know if you are facing any difficulties in this implementation. 
 
Regards, 
Indhumathy L 


Marked as answer
Loader.
Up arrow icon