This question is locked. New answers and comments are not allowed.
I have implemented a custom access level provider for my MVC application. Basically each user has an "AccessLevels" property of type int which is bitwise-compared to an enum. e.g.(User.AccessLevels & CanAccessReports) return 1 (true) if the flag in AccessLevels property is set.
Is there anyway that I can bind Telerik menu to a sitemap and implement my custom access level permissions to hide items that user cannot have access to? (Maybe by overriding a method?)
P.S. I do not want to use a role based approach since I don't want to define dozens of roles for the site and assign users to them.
Thank you.
Is there anyway that I can bind Telerik menu to a sitemap and implement my custom access level permissions to hide items that user cannot have access to? (Maybe by overriding a method?)
P.S. I do not want to use a role based approach since I don't want to define dozens of roles for the site and assign users to them.
Thank you.