Hi Support Team,
I want to test my develop environment at year end timestamp, so I changed host server date setting & my local setting to midnight of 31 Dec 2023.
However, after logging in dev, the browser tab was reloading infinitely and the console showed this:
My app stores token in local storage, I tried clearing them but it kept reloading, I also tried incognito mode but it is the same.
Is there a way to solve this?
Hi jfistelmann,
Thank you for your supporting. But the breakpoint did not get hit in the overridden method.
Could you take a look at my implementation to see if I missed any step?
Other method is otherwise working well:
Edit: I found the solution, it is the method IIdentityUserAppService.GetAssignableRolesAsync(...) to be overridden, its API is api/identity/users/assignable-roles
.
Anyway, thank you for the suggestion. One last thing: How do I achieve the UI like this?
Hi Support Team,
I would like to ask if there is a way to hide away "Junior" & "Senior" in the "User" => "Edit" popup as below: If there is any, could you show me how this could be achieved?
Hope to hearing from you guys soon.
Thanks.
Hi, it's been a while. When will I get the answer for this?
Hello, is there any update on this?
Hi Support Team,
I have a requirement to hide/show certain pages based on current user role. So I came up with the idea to inject User Service
into route.provider.ts
, it looks like this:
Then, based on invisible
property, I thought the page would hide/show as expected, but the variable isSAOnly
is always false
as the service did not get injected properly I assume.
So my question is: Is it possible to inject a service to route.provider.ts
(as I haven't done it before)? If so, what is the correct way to implement it?
There's a similar thread , but what I want is to combine both user's permission & role, since the those 2 could be very much overlapped.
Hope to hear from you guys soon.
Thanks.
I will check it again. Thank you so much.
Hi Support Team,
I've encountered this bug:
Since I can not access the the API (/identity/organization-units) as it belongs to the framework core. I hope support team can help me solve this bug Hope to hearing from you guys soon.
Thanks.