Starts in:
2 DAYS
1 HR
14 MIN
10 SEC
Starts in:
2 D
1 H
14 M
10 S

Activities of "viswajwalith"

hi

Require AbpIdentity.Users permission to impersonate user! These requirements were not met:

Does the user have the related permissions?

Can you share a access_token to liming.ma@volosoft.com

Yes permission is provided

sharing the access-token over the email in few minutes

hi

IDX10214: Audience validation failed. A Audiences: 'IdentityService, AdministrationService, SaasService, EmployeeService, IncidentService, AttachmentService, ObservationsService, ActionService, UserTaskService, HSEPlansService, NCRService, CustomerService, InspectionService, Forms, FileManagement, AuthServer, RMService, TMService, PTWService'.

Did not match: validationParameters.ValidAudience: 'AccountService' or validationParameters.ValidAudiences: 'null'.

Your access_token seems to be missing the AccountService audience.

Aftering doing the suggisted change

we are getting the below issues for our services

PermissionRequirement: EmployeeService.Employees.Create

2024-01-22 12:58:41.151 +05:30 [INF] Authorization failed. These requirements were not met:

PermissionRequirement: EmployeeService.Employees.Create

2024-01-22 12:58:41.174 +05:30 [WRN] Could not find the localization resource LeptonX on the remote server!

2024-01-22 12:58:41.178 +05:30 [INF] Authorization failed. These requirements were not met:

PermissionRequirement: EmployeeService.Employees.Create

2024-01-22 12:58:41.206 +05:30 [WRN] Could not find the localization resource LeptonX on the remote server!

2024-01-22 12:58:41.207 +05:30 [WRN] Could not find the localization resource LeptonX on the remote server!

2024-01-22 12:58:41.208 +05:30 [WRN] Could not find the localization resource LeptonX on the remote server!

2024-01-22 12:58:41.208 +05:30 [WRN] Could not find the localization resource LeptonX on the remote server!

2024-01-22 12:58:41.208 +05:30 [WRN] Could not find the localization resource LeptonX on the remote server!

2024-01-22 12:58:41.208 +05:30 [WRN] Could not find the localization resource LeptonX on the remote server!

2024-01-22 12:58:41.211 +05:30 [WRN] Could not find the localization resource LeptonX on the remote server!

2024-01-22 12:58:42.601 +05:30 [INF] Authorization failed. These requirements were not met:

PermissionRequirement: ObservationsService.Observations

2024-01-22 12:58:42.601 +05:30 [INF] Authorization failed. These requirements were not met:

PermissionRequirement: IncidentService.IncidentManagements

2024-01-22 12:58:42.601 +05:30 [INF] Authorization failed. These requirements were not met:

PermissionRequirement: InspectionService.AuditsManagements

2024-01-22 12:58:42.602 +05:30 [INF] Authorization failed. These requirements were not met:

PermissionRequirement: InspectionService.InspectionManagements

Still we proceeded and tried the same but getting the below error as well

{ "code": "Volo.Account:RequirePermissionToImpersonateUser", "message": "Require AbpIdentity.Users permission to impersonate user!", "details": null, "data": { "PermissionName": "AbpIdentity.Users" }, "validationErrors": null }

My first question is this functionality and steps valid for ABP7?

Hi,

Sorry for that, I forgot it is not included in the downloaded source code.

You can tell me which files you want to remove and I will repackage and share it with you

Thats fine, actually we would like to exclude webpack://leptonx/./node_modules/perfect-scrollbar/dist/perfect-scrollbar.esm.js

Also, I have some suggitions

  • its better to have an option to exclude files from pre defined bundles
  • perfect-scroll.js is not recommend as it have no maintatnce plus will create problems when we have dyamic conenet loading, so better to think of some alternative in next releases

It has been configured, you can remove unnecessary files and then package using the command

Thanks for ur inputs but to be honest, we are not able to find this files in LeptonX source code, so thinking of work around.

Yes, you can remove unnecessary files and repackage using webpack

ok we will give a try, but if possible in future release try to come up with an option to replace files in a pre-defned bundles at run time.

also please do share any reference link for the process using webpack in a abp.io way

Hi,

You can download the leptonx theme source code to re-pack the Leptonx.bundle.min.js

You mean to say the LeptoX theme source code to re build the Leptonx.bundle.min.js with required file changes right

Hi,

Sorry, I didn't get it.

The Leptonx.bundle.min.js is not a bundle package. It is a separate js file. you have to replace or delete it entirely

Yes it is a seperate file but which is nothing but combination of files with minification as a single bundle file right, basically we want to remove some files which are part of that.

Answer

No, As I said you try to replace the AbpSelectTagHelperService instead of AbpTagHelperService<AbpSelectTagHelper>, AbpSelectTagHelper

For example:

[Dependency(ReplaceServices = true)] 
[ExposeServices(typeof(AbpSelectTagHelperService))] 
public class MySelectTagHelperService : AbpSelectTagHelperService 
{ 
    public MySelectTagHelperService(IHtmlGenerator generator, HtmlEncoder encoder, IAbpTagHelperLocalizer tagHelperLocalizer, IStringLocalizerFactory stringLocalizerFactory, IAbpEnumLocalizer abpEnumLocalizer) : base(generator, encoder, tagHelperLocalizer, stringLocalizerFactory, abpEnumLocalizer) 
    { 
    } 
 
    public override void Process(TagHelperContext context, TagHelperOutput output) 
    { 
        ... 
        base.Process(context, output); 
    } 
} 

It worked thanks, will let you know in case of any thing else.

Answer

Hi,

You can try to replace the AbpSelectTagHelperService.

[Dependency(ReplaceServices = true)] 
[ExposeServices(typeof(AbpSelectTagHelperService))] 
public class MySelectTagHelperService : AbpSelectTagHelperService 

I dont think I got ur point, do u mean something like below code?

will you able to provide the path for the specific file which you are refering us to override. Thanks in advance

Answer

Hello,

You can get the source code of LeptonX by using the below command, and you can customize it as per your requirements.

abp get-source Volo.LeptonTheme --version 7.3.1 

Thanks, Anjali

Thanks for the update, you mean the provide command will give the source code for the leptonX demo site (https://x.leptontheme.com/) as well?

Showing 21 to 30 of 242 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06