fix: get_apiusers cache key missing orgid causing cross-org data leak

This commit is contained in:
yumoqing 2026-05-30 11:01:05 +08:00
parent d67cc0b0da
commit 4360f34576

View File

@ -81,7 +81,7 @@ class UAPIData:
return None
async def get_apiusers(self, appid, orgid=None):
key = appid
key = f'{appid}.{orgid}' if orgid else str(appid)
if _cache_enabled():
d = self.org_users.get(key)
if d: