Activities of "drpdev2"

Hi, My solution is using abp version 2.6.2. The following is ABP packages. You means I should update abp suite?

Hi guys,

I have 4 questions related to Identity module.

  1. How to use forget password which send the email to user in order to reset password ? I refered to https://docs.abp.io/en/commercial/latest/modules/identity. to use Forget password But it seems not point out how to configuration email.
  2. How to use/implement Two authentication code when user login ? I ticked Two factor verification in the user creation screen but it do not have any changes. What should I configuration in the Asp.net-core to use Two factor verification?
  3. I created a role named Employee, and set some permissions for it. And then I granted the role to a user. I understand that when the role is not ticked "public", the user should be revoke the permissions of role Employee. Is it right? But I found that the role Employee is set "public" or not, It still do not any change about permissions of user. Could you share how to use it correctly?
  4. Regarding the Permission screen, I found that the permissions was loaded from XXXPermissionDefinitionProvider.cs file in the asp.net-core project. I refered to Volo.Identity.Pro module (angular folder). It used <abp-permission-management> to show permission list. Currently, I want to customize the Permission screen. But I don't know how to edit UI of <abp-permission-management> ? And Could you guide how to show the permission screen from a other page instead of Identity module?
  • ABP Framework version: v2.6.2
  • ** My angular folder is using the following packages: "@volo/abp.ng.account": "~2.7.1", "@volo/abp.ng.audit-logging": "~2.7.1", "@volo/abp.ng.identity": "~2.7.1", "@volo/abp.ng.identity-server": "~2.7.1", "@volo/abp.ng.language-management": "~2.7.1", "@volo/abp.ng.saas": "~2.7.1", "@volo/abp.ng.text-template-management": "~2.7.1", "@volo/abp.ng.theme.lepton": "~2.7.1",
  • UI type: Angular 9
  • Tiered (MVC) or Identity Server Seperated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

The following is I tried to use forget password. But it occurs the error 403.

Hi guys,

I upgraded abp version from 2.6.2 to 2.9 for all cli, suite and my project solution (Angular 9 + Identity Server separated). The new version showed Organization Unit in left-side menu. Everything is OK. But I got this error when I tried to use CRUD page. I checked Volo.Abp.Commercial.SuiteTemplates.dll is latest version 2.9. Could you guide me how to fix? Thanks

Alright, I fixed the error after updating Visual Studio latest version, restart Window, rebuild all the project solution, then run abp suite to CRUD page.

@mehmet, @alper: Thank you. @alper: 3- Setting public to a role will not change its behaviour. Public = true means "A user can see other user's public roles". I couldn't understand what you want to do? -> I don't clear. "A user can see other user's public roles". When a user have no permission to go menu Identity management. So Where/what screen to see other user's public roles? Could you give me a example/explain more detail to use "Public" correctly?

1- Regardings the email configuration question, I still cannot use Forget Password in Login screen. Could you guide how to use Forget Password feature? I added the setting in appsettings.json of xxxHttpApi.Host project as the following:

  "Settings": {
    "Abp.Mailing.DefaultFromAddress": "cedricnml@gmail.com",
    "Abp.Mailing.DefaultFromDisplayName": "My Application",
    "Abp.Mailing.Smtp.Host": "smtp.gmail.com",
    "Abp.Mailing.Smtp.Port": "587",
    "Abp.Mailing.Smtp.UserName": "cedricnml@gmail.com",
    "Abp.Mailing.Smtp.Password": "xxxx",
    "Abp.Mailing.Smtp.EnableSsl": "True"
  },

My project is Angular 9 + Identity server separated. Updated Abp version 2.9.0

It raised this error.

Hi @alper Thanks for your explaination for the public role. I tried to disable 2 factor. I configured Email as the following for Forget password. But the error is still occurred. Could you share steps to this feature works ?

Hi @liangshiwei Has the Email setting module released? Where can I enable it? I need to allow all of the built in email settings to be editable in the settings adminstration UI, instead of adding sensitive information to appsetting.json. I think that the email password need to encrypt after input on UI to store to abpSettings table.

One more question, I refered to https://docs.abp.io/en/abp/master/Settings in order to create a class derived from the SettingDefinitionProvider in order to define its settings. But it seems not change any things on Setting screen. Could you guide how to add other settings to display on Setting screen? Thanks.

@liangshiwei: My project is Angular 9 + Identity server separated with abp version 2.9.0

Hi guys,

I found that Volo.Identity.Pro module was lack of vietnamese. So I have to update empty string of target culture language as the following image. But it is not good way for many tenants or other cultures. Can I add a new localization json file into Volo Identity module and other modules? Can I modify values of the existed localization json files in Volo module packages? Could you share me the steps? Thanks

  • ABP Framework version: v2.9.0
  • UI type: Angular 9
  • Identity Server Seperated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Hi @liangshiwei, I refered to https://docs.abp.io/en/abp/latest/Localization#extending-existing-resource As I know, the document is only describe extending existing resource file in order to reuse in other classes. But It seems not point out how to add new or modify existing culture language file of Volo abp module. Could you share me the steps?

  1. How to add a new localization json file into Volo Identity Pro module?
  2. And how to modify values of the existed localization json files in Volo Identity Pro module or other Abp module packages?
Showing 11 to 20 of 32 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19