You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(web): DataTable shows access-denied/error state instead of empty on 403
Admin list pages passed only rows+empty to DataTable and never read the query
error, so a 403 (no permission) rendered as an empty table ('NO USERS') —
indistinguishable from a genuinely empty result. That's the 'admin tabs silently
show empty' symptom.
- DataTable gains error + onRetry props and a distinct error state: 403 →
'access denied' (warn), other errors → 'failed to load' + retry button
- shared: isForbidden/isUnauthorized/isAuthError helpers over ky HTTPError
- i18n common.accessDenied/loadFailed (en+ru)
- wire error + refetch through users/subscriptions/invoices/tenants and reseller
customers/commissions pages
0 commit comments