hi i wish i can explain i want to make logic that allows me open page or not according to Authorization i attached some images to explain what i want what i want is: if i have 2 users (x ,y) x has permission for specific pages so i must give him requiredPolicy within route.provider.ts file and not open the page if he hasn't permission put in my case what happen is just router link appear or not according to permission and page still open even if (x) hasn't permission
both if has permission or not will open this page and i don't want this just open it if has permission
i solved it thank you
i'm using abp angular so it handles the login page automatically so how can i access logout event ?
hi i already know localStorage.clear() what i want is (where) to write it in abp angular ? where logout event is triggered ??
hi where can i find logout logic to clear database for example i added an item to my table this item store in local storage i want when logout and login again with same user to clear this local storage so how can i did it ? i attached simple video to see what i want to do thank you
https://streamable.com/4l44ba
hi maliming Unfortunately i can't share the project if i create project with just one module it will work but my problem is i have multi modules a lot of them i want to make my logic within tenant create modal my steps is 1- creating new Enum within one of modules 2- create localization according to Enum values 3- create lookups to read from this Enum what happen is it works but the value within Enum show i want to read these values from localization is there a documentation explain this point or what're the steps should i do thanks
I have a project with multiple modules and i can use lookup from module to other (Enum) and it works fine as image 1 when i tried to do same logic but this time within creating new tenant screen it's not working as expected the result is value as image 2 now you will say it is working and there is data but actually this data is wrong because i get lookup from Enum so the result is value on Enum not the value stored within localization (En || Ar) as image 1 so i want to show the localization value not Enum value i wrote my code within two classes 1- Domain Shared path ==> src\Horizon.HorizonERP.Domain.Shared\HorizonERPModuleExtensionConfigurator.cs
2- Entity Framework path ==> src\Horizon.HorizonERP.EntityFrameworkCore\EntityFrameworkCore\HorizonERPEfCoreEntityExtensionMappings.cs
hi salih it works thank you :)