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

Example about role and role permission #25


User avatar
0
dinhienhy created

Hi all,

Could you show me same example about role and role permission in module zero?

Thanks,


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

    It's not documented yet. You can check the sample project (<a class="postlink" href="https://github.com/aspnetboilerplate/module-zero/tree/master/sample">https://github.com/aspnetboilerplate/mo ... ter/sample</a>) for simple usage. You can try to Inject and use UserManager to get/change permissions of users. RoleManager to get/change permissions for roles. IPermissionChecker to just simply check permissions for current user. I'm hardly working on the ABP and module-zero. Will document it soon.

  • User Avatar
    0
    dinhienhy created

    Thanks for your help!