Base solution for your next web application

Activities of "[email protected]"

Any answer?

Here is the log file log file link

please download the attached file

What is your product version? 11 What is your product type (Angular or MVC)? Anulgar What is product framework type (.net framework or .net core)? .net core

Getting error while calling Email.SendPasswordResetLinkAsync() in a thread. When i call first time, it executed with no error. When i execute second time it give error await Task.Delay(new TimeSpan(0, 0, 10)).ContinueWith(async start => { await _userEmailer.SendPasswordResetLinkAsync(user,link); // here it is working fine   await _userEmailer.SendPasswordResetLinkAsync(user,link); // here i get error });

@ismcagdas Sorry it was mine issue, I was checking Permission of already created admin. TenantManager.CreateWithAdminUserAsync is for new tenants

Any Suggestion?

Actaully i want when host Admin add new tenant. The newly created tenant admin should not have one permission called "CustomPermission". I want "CustomPermission" should not be the part of Tenant Admin role. So @ismcagdas mentioned that its right location is Core.MultiTenancy.TenantManager.cs line 133. I am writing this code at line 133 var adminRole = _roleManager.Roles.Single(r => r.Name == StaticRoleNames.Tenants.Admin); await _roleManager.GrantAllPermissionsAsync(adminRole); var CustomPermission = _permissionManager.GetPermission(AppPermissions.Pages_Tenant_CustomPermission); await _roleManager.ProhibitPermissionAsync(adminRole, CustomPermission);

But when I login as Newly Created tenant admin, It has all permissions.

i checked by doing this, but it is not working. below is my code

await _roleManager.GrantAllPermissionsAsync(adminRole); var CustomPermission = _permissionManager.GetPermission(AppPermissions.Pages_Tenant_CustomPermission); await _roleManager.ProhibitPermissionAsync(adminRole, CustomPermission);

Thanks for your response,

Yes i already read that code await _roleManager.GrantAllPermissionsAsync(adminRole); so it is further calling AbpRoleManager.GrantAllPermissionsAsync() , it granting all of permissions by default, not one by one, how we can exclude one permission here.

One more thing how can we hide one side menu item from frontend app. Basically tenant admin has all permissions, i want to hide one menu item from admin, that will be only visible to one another role

  • What is your product version ? 10.3
  • What is your product type ? Angular
  • What is product framework type ? .net core

Teanant admin granted all permission by default, I have two question

  1. Delete a permission from Tenant admin role
  2. Hide specific side menu item from Tenant admin in frontend

I have a tenant side static role called "Developer". A developer can view a specific Sidemenu Item, but I want tenant admin should not view that Sidemenu item. Currently tenant admin is also able to view that Sidemenu item.

Same issue , found any help?

Showing 1 to 10 of 10 entries