Hi,
Can you send the relevant log records?
Hi,
Unfortunately, you cannot create a layered(DDD) service with ABP Studio or ABP CLI. Here is the reason why: https://abp.io/support/questions/7648/Unable-to-create-layering-for-microservices#answer-3a1447fd-ff9a-f065-3800-a436cfe3d88d
Hi there!
Our React Native template already comes integrated with react-native-root-toast. You can check out its repository for detailed instructions on how to use it. If you’d like, you can customize properties like backgroundColor, shadowColor, and textColor for warning and error notifications, define them in variables, and use them whenever needed.
Hello,
I understand the last need you mentioned, but it seems to be quite different from the first problem you mentioned. ABP's permission system is based on ASP.NET's policy based authorization. Therefore, you can solve this problem the same way you solve this problem in a regular ASP.NET application. However, I will still try to provide you with sample code as much as I can to give you an idea.
You should define which modules a user can access and store it in the entity as below:
public class UserModulePermission : Entity<Guid>
{
public Guid UserId { get; set; }
public string PermissionName { get; set; }
public string ModuleName { get; set; }
}
Then, as I mentioned in my first answer, you need to create your own PermissionValueProvider and check whether the user has access to that module or not.
Feel free to write if you have a specific problem while implementing it.
Hi @duyan11110
Unfortunately we don't have a way to automatically migrate your old solution to the new microservice template. If you want to use the features in ABP Studio for microservice development, I think the easiest way is to create a new microservice solution and move your project's source code to the new project step by step.
See more: https://abp.io/support/questions/8755/ABP-studio-not-able-to-add-new-micro-service-in-the-existing-solution
Hi,
Actually, the problem lies in our cloud environment. It works fine on local. So, I need to check cloud settings.
Okay, then I am waiting to hear from you.
If you cannot solve your problem, you can write the points you suspect here, I can help as much as I can.
Hi,
Unfortunately, there is no ready solution for this on the ABP side. However, you can write a custom middleware for this. You can redirect every request to /account/login to the provider you want according to its parameters.