Hi, I'm getting following error,
Error CS0433 The type 'AbpIdentityApplicationContractsModule' exists in both 'Volo.Abp.Identity.Application.Contracts, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Volo.Abp.Identity.Pro.Application.Contracts, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null' In2Facts.Portal.Application.Contracts (net8.0), In2Facts.Portal.Application.Contracts (netstandard2.0), In2Facts.Portal.Application.Contracts (netstandard2.1)
hi
https://docs.abp.io/en/abp/latest/Best-Practices/Module-Architecture
| Your Module | operator | Identity Module | | --- | --- | --- | .Application | Add reference & Depends on| Identity.Application | .Application.Contracts |Add reference & Depends on|Identity.Application.Contracts| .Domain | Add reference & Depends on| Identity.Domain| .Domain.Shared | Add reference & Depends on| Identity.Domain.Shared| .EntityFrameworkCore | Add reference & Depends on| Identity.EntityFrameworkCore| .HttpApi | Add reference & Depends on|Identity.HttpApi| .HttpApi.Client | Add reference & Depends on| Identity.HttpApi.Client| .Web | Add reference & Depends on| Identity.Web |
Hi, Since its already in my existing main project cant I reuse them? Just to get a list of roles should I do this in my module project?
On which layer should I add?
No errors. I have a main project and a custom module project. I need a list of roles in my custom module. How can I do that? Thats the question.
Hi,
I want only the list of roles where I want use those roles list in another entity as select. Already my main project is installed with Identity module. But I'm unable to get the list of roles in my custom module using role manager. How can I do that? What's the best approach?
Hi,
I have implemented dynamic menus using https://support.abp.io/QA/Questions/6604.
Now I want to give permissions to the dynamically added menus based on roles or users.
I tried to add the dynamic menus to permissions page with PermissionDefinitionProvider. But it did not work. Because it loads at the application start.
Not sure how can I achieve this. Need some suggestions to do that.
Hi,
Need dynamic menus to be available on permissions for roles and users.
Hi, And also how can I trigger an external api call and save the response to DB. Is it a good practice to do that from menu contributor?
Any updates?