managarten/packages
Till JS b737240ec1 feat(auth): add access tier system for phased app releases
Introduces a tiered access control system so apps can be released
gradually (founder → alpha → beta → public) without extra infrastructure.
Users are gated at the AuthGate level based on their tier vs the app's
requiredTier. All apps remain deployed and reachable, but only users
with sufficient tier can enter.

- Add accessTier enum + column to users schema (default: 'public')
- Add tier claim to JWT payload in better-auth config
- Add requiredTier field to ManaApp interface + all 25 apps
- Add hasAppAccess(), getAccessibleManaApps(), ACCESS_TIER_LABELS
- Update AuthGate with tier check + access denied screen
- Update getPillAppItems + Home page to filter by user tier
- Update all 22 app layouts to pass user tier to PillNav
- Add admin API: GET/PUT /api/v1/admin/users/:id/tier
- Document access tier system in CLAUDE.md

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 21:50:06 +02:00
..
credits fix(packages): fix type errors in consolidated packages + add missing files 2026-03-28 17:53:34 +01:00
eslint-config Revert "test: verify pre-commit hook works" 2026-03-17 13:11:31 +01:00
feedback chore: commit remaining changes from recent sessions 2026-03-28 17:54:51 +01:00
help fix(help): fix createSearcher import path in HelpSearch.svelte 2026-03-28 20:55:33 +01:00
local-store fix(todo): homepage loading state + completed date on task items 2026-03-28 18:15:26 +01:00
manadeck-database fix(db): use TEXT for user_id columns across entire codebase 2025-12-09 16:30:51 +01:00
notify-client fix(notify-client): don't send undefined emailOptions 2026-01-29 23:25:46 +01:00
qr-export chore(matrix-mobile): configure EAS Build for TestFlight and fix type errors 2026-03-06 19:36:39 +01:00
shared-api-client fix(shared-api-client): add useRuntimeUrl flag for cross-app clients 2026-03-20 17:11:31 +01:00
shared-app-onboarding fix(calendar): improve onboarding UX — clearer progress, better selection, apply preferences 2026-03-21 11:00:28 +01:00
shared-auth feat(auth): add access tier system for phased app releases 2026-03-30 21:50:06 +02:00
shared-auth-stores refactor(auth): centralize auth stores — 21 apps use createManaAuthStore factory 2026-03-28 18:04:27 +01:00
shared-auth-ui feat(auth): add access tier system for phased app releases 2026-03-30 21:50:06 +02:00
shared-branding feat(auth): add access tier system for phased app releases 2026-03-30 21:50:06 +02:00
shared-config fix lint 2025-12-04 00:32:13 +01:00
shared-drizzle-config 🚸 ux(matrix-web): improve mobile responsiveness 2026-01-29 17:37:35 +01:00
shared-error-tracking fix(error-tracking): switch to ESM output for SvelteKit compatibility 2026-03-23 08:44:47 +01:00
shared-errors Fix wrong type 2025-12-04 23:25:25 +01:00
shared-go feat(packages): add shared-go package with httputil and envutil 2026-03-28 10:24:01 +01:00
shared-hono feat(shared-hono): add credit client for Hono backends 2026-03-28 10:13:34 +01:00
shared-i18n refactor(auth): remove all Google/Apple social login code 2026-03-26 09:12:30 +01:00
shared-icons improve code quality 2025-12-03 23:42:37 +01:00
shared-landing-ui feat(pricing): migrate to Mana Quelle S-XXL subscription tiers with new Stripe products 2026-03-27 11:54:58 +01:00
shared-links feat(shared-links): deep-link navigation to target app detail views 2026-03-30 12:14:29 +02:00
shared-llm feat: add Ollama memory optimization, LLM metrics, and chat streaming 2026-03-24 09:41:33 +01:00
shared-logger 💄 style(matrix-web): redesign login page to match central auth UI 2026-01-29 17:43:51 +01:00
shared-profile-ui improve code quality 2025-12-03 23:42:37 +01:00
shared-pwa feat(auth): add organization management endpoints 2026-02-16 12:47:49 +01:00
shared-splitscreen feat(calendar): convert toolbar to collapsed FAB next to InputBar 2025-12-12 21:55:07 +01:00
shared-storage chore: remove remaining Hetzner references across codebase 2026-03-23 10:30:26 +01:00
shared-stores feat(local-first): migrate tags + task stores to reactive liveQuery across all apps 2026-03-28 02:02:52 +01:00
shared-tags fix(tags): add FK constraint, token validation, input validation 2026-03-26 21:49:21 +01:00
shared-tailwind feat(ui): add elevation system for overlays and modals 2025-12-13 15:00:33 +01:00
shared-theme fix(auth): resolve hardcoded localhost in user-settings across all web apps 2026-03-25 12:40:30 +01:00
shared-theme-ui feat(shared-ui): add FilterDropdown export and InputBar FAB support 2025-12-14 21:32:03 +01:00
shared-tsconfig 🔧 chore: create @manacore/shared-tsconfig and migrate 13 backends 2026-01-29 16:38:57 +01:00
shared-types feat: add org landing page builder service 2026-03-23 13:20:10 +01:00
shared-ui feat(ui): add SyncIndicator to all 19 app layouts 2026-03-28 18:27:30 +01:00
shared-utils feat(analytics): add custom event tracking to NutriPhi and ManaDeck 2026-03-25 12:12:01 +01:00
shared-vite-config feat(shared): add DevBuildBadge component and getBuildDefines() helper 2026-03-20 19:34:21 +01:00
spiral-db feat(contacts): integrate spiral-db for visual contact network 2026-03-23 11:02:19 +01:00
subscriptions refactor(packages): consolidate 2 subscription packages into @manacore/subscriptions 2026-03-28 17:40:47 +01:00
test-config improve code quality 2025-12-03 23:42:37 +01:00
wallpaper-generator chore: fix wallpaper-generator test script and update CLAUDE.md test count 2026-03-21 10:54:21 +01:00