Skip to content

fix(TAP-12185): restore missing permission cache - #610

Merged
feynmx merged 1 commit into
developfrom
fix/TAP-12185-no-permission-actions
Jul 16, 2026
Merged

fix(TAP-12185): restore missing permission cache#610
feynmx merged 1 commit into
developfrom
fix/TAP-12185-no-permission-actions

Conversation

@feynmx

@feynmx feynmx commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Rebuild missing tapdata_permissions from the current token before route permission checks.
  • Treat failed user-permission refetch as an expired session instead of showing a false no-permission error.
  • Add focused console.debug diagnostics for permission cache miss, invalid cache, refetch, and tab discard/navigation context.

Validation

  • git diff --check
  • pnpm exec eslint apps/daas/src/main.ts apps/daas/src/utils/util.ts apps/daas/src/router/index.ts apps/daas/src/directives/index.ts apps/daas/src/layouts/Sidebar.vue
  • pre-commit lint-staged eslint/check-i18n on touched files

Risks

  • Diagnostic console.debug logs are intentionally retained for abnormal permission-cache paths; Chrome may hide them unless Verbose logging is enabled.

@feynmx
feynmx merged commit 5f57a8c into develop Jul 16, 2026
2 checks passed
@feynmx
feynmx deleted the fix/TAP-12185-no-permission-actions branch July 16, 2026 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant