Thanks a lot. It's fixed now
I applied this on your library on my node_modules and I'll be waiting this to appear in the upcoming release as I don't want to maintain your library code in every new deployment.
That really works! Many thanks Alper!
Thanks Alper for your quick response
I tried a method too, and it still get the initial value. I even added a breakpoint to that method to see if it's called when I reach the query that should apply the filter, but it's not reached.
it's reached only once, when app is bootstrapped but not after
Hi Ismcagdas
The problem that filter gets the initial value available in that object which in turn resolves it from settings, but when that setting changed, filter still get the initial value and never changed.
Please note that I didn't follow exactly what you did (didn't implement null pattern), should I do so? do you believe it should fix the problem? If yes, can you please provide an amended version for your code here (I get that setting value from a property in that custom session object): <a class="postlink" href="https://gist.github.com/ismcagdas/6f2a9a3b5d7b907cb8d94a72124d59a1">https://gist.github.com/ismcagdas/6f2a9 ... 72124d59a1</a>
Thanks
Hi Alper
How can I use User setting value in the custom filter I added? It seems this filter runs once in app bootstrap for all objects that implement my interface, when AbpSession object is null (no UserId nor TenantId).
Would be great if you can provide a sample
Thanks
Thank you. I agree, it's easier to handle this through configurations rather than a Claim
Thanks @ismcagdas for your quick response.
I understand. In that case, I'll try to use the approach of directing users to own multiple linked accounts instead.
One related question, I'm planning to allow users switch between their different assigned roles. Do you have instructions about this somewhere?
Thank you
Awesome! It works just perfect now. I also followed your instructions to update the part that's required for language switching and everything just working as expected.
Thanks a million!