Base solution for your next web application

Activities of "csona"

Yes, permissions in the source role are set correctly. But while retrieving those permissions using GetGrantedPermissionsAsync, only some of them are returned. Please find the database snapshots below

What I'm trying to do

  • Each edition has a default tenant associated with it. This tenant can have some predefined users, roles, organizational units etc.
  • When a new tenant is created using this edition, it will copy the relevant items from the default tenant

Issue that I'm facing

  • In TenantManager.CreateWithAdminUserAsync, retrieve the role permissions using following statements
using (_unitOfWorkManager.Current.SetTenantId(defaultTenant.Id))
{
    var defaultTenantRolePermissions = await _roleManager.GetGrantedPermissionsAsync(defaultTenantRole);
}
  • While retrieving the permissions, following permissions are not returned from GetGrantedPermissionsAsync method Pages.Tenant.Dashboard Pages.Administration.Tenant.Settings

However, this method works fine for all other permissions. Is there anything missing or needs to be done differently?

Thanks in advance.

Hello,

While adding the dynamic parameters for some entities such as Abp.Organizations.OrganizationUnit, where can I add the dynamic parameters as there is no place to do it in the UI for Organization Units?

Are there any entities where dynamic parameters might not be applicable?

Thanks in advance.

Hi @ismcagdas,

Thank you for getting back to me so quickly. I don't believe we are using momentFormat pipe in angular pages. I'll check and get back to you shortly.

Meantime, Is there any link in asp.net zero/asp.net boilerplate docuementation regarding this?

Thanks again.

Hello,

I have made the Clock.Provider as UTC in the application and can see the timezone setting for tenants/users. However when I set to a specific region, I am not able to see the values correctly in that locale (for ex, Login Attempts)? The values that are already in the database would be done with UnspecifiedClockProvider as per the documentation. So what would be the expected behavior here or are we missing any steps in the frontend?

Thanks in advance.

Hi,

Yes, it was an issue related to the SenGrid configuration and its resolved now.

Thanks for your help.

Hello,

I have configured SendGrid with ASP.Net zero in the following way

  • Commented this section in {MyProject}CoreModule.cs
 if (DebugHelper.IsDebug)
 {
    //Disabling email sending in debug mode
    //Configuration.ReplaceService<IEmailSender, NullEmailSender>(DependencyLifeStyle.Transient);
 }
  • Implemented my own class derived from IEmailSender and configured in the following way
Configuration.ReplaceService<IEmailSender, SendGridEmailSender>(DependencyLifeStyle.Transient);

The code gets executed without any errors but emails are not getting sent as exptected. If I execute the same code outside in another test project then the eamils are sent.

Is there any step that I need to do? I could not find any specific documentation for this.

Thanks in advance.

Showing 21 to 27 of 27 entries