Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "sferrari"

Hi, I'm trying to delete a role, does not give me any error of fact the result is success = true, but the role is not deleted, the code attached. Thank you

Hello, first of all thank you for sharing such a beautiful project, on the other hand I write from Argentina and my English is not very good, sorry po know that.

I'm having incovenientes to obtain permits from the "AbpPermissions" table, I thought that the permissions of user and automatically obteniean when logueaba.

Then a suuario see the logs in, try to get it with the following methods, and eh not been able to do:

var permission = _permissionManager.GetAllPermissions (false); var permission1 = _permissionManager.GetPermissionOrNull (Manager.Core.Authorization.PermissionNames.Module_MyAccount); var permission2 = _permissionManager.GetPermission (Manager.Core.Authorization.PermissionNames.Module_MyAccount);

var user = _userManager.FindById (1); var list = await _userManager.GetGrantedPermissionsAsync (user);

var list1 = await _userStore.GetPermissionsAsync (1);

I have already read in the forum, and also the documents:

  • <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Zero/Permission-Management">http://www.aspnetboilerplate.com/Pages/ ... Management</a>
  • <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Authorization">http://www.aspnetboilerplate.com/Pages/ ... horization</a>

But I do not use any Provider, I want to get permsisos AbpPermissions desdde the table.

I hope to receive an answer to this, I attached the print screen of the database.

Thank you very much !

Showing 1 to 2 of 2 entries