当UI显示登录状态, 菜单丢失的情况下.
The access_token is not active. 然后注销?如果执行了注销的逻辑 UI 就不会显示登录状态了
可能是access token过期了, 但是CheckTokenExpiration应该会直接注销当前用户.
目前UI的行为是?
没有操作用户权限情况下,权限丢失,application-configuration cache 的用户信息和权限信息都不对
如何复现问题?
步骤是?
这个MvcCachedApplicationConfigurationClient缓存问题你可以参考https://github.com/abpframework/abp/pull/24486
有一个现象,当权限丢失的时候,application-configuration key userid ,但是value 对应的值,currentUser is null, "auth": { "grantedPolicies": {} },
这是否导致任何问题?
Thanks. I will check this case. 👍
We will enhance this in the 10.0 patch version
https://github.com/abpframework/abp/pull/24607
Thanks.
hi
Can you try to override the TZConvertTimezoneProvider and remove the Africa/Asmera?
[Dependency(TryRegister = true)]
[ExposeServices(typeof(ITimezoneProvider))]
public class MyTZConvertTimezoneProvider : TZConvertTimezoneProvider
{
public override List<NameValue> GetWindowsTimezones()
{
return TZConvert.KnownWindowsTimeZoneIds.OrderBy(x => x).Select(x => new NameValue(x, x)).ToList();
}
public override List<NameValue> GetIanaTimezones()
{
return TZConvert.KnownIanaTimeZoneNames.OrderBy(x => x).Where(x => x.Contains("/") && !x.Contains("Etc") || x == "UTC").Select(x => new NameValue(x, x)).ToList();
}
}
Thanks.
a new way to solve it. See https://github.com/abpframework/abp/pull/24598