Activities of "maliming"

当UI显示登录状态, 菜单丢失的情况下.

  1. 复制CheckTokenExpiration的源码并在你的项目中使用它. 参考: https://abp.io/support/questions/10288/abp-CookieAuthenticationOptionsIntrospectAccessToken?CurrentPage=1#answer-3a1eb47c-376b-fd86-91bf-71e71ddf1528
  2. 设置断点, 刷新页面 CheckTokenExpiration 是否回检测到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

Great 👍

Showing 361 to 370 of 11993 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.2.0-preview. Updated on February 17, 2026, 09:10
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.