Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

How to enable / disable abpAuthorization based on abpFeature #577


User avatar
0
khaled created

Can I have a sample of how to enable and disable AbpAuthorzie attribute based on AbpFeature is enabled or not.


1 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Permissions can be defined to depend on features. Did you try it? See docs: <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Authorization#DocDefinePermission">http://www.aspnetboilerplate.com/Pages/ ... Permission</a> (dependedFeature property). If not, what exactly you want?