stack/apps/dashboard/src/app
CactusBlue 1ffd1e3e5b
User permissions (#573)
<!-- ELLIPSIS_HIDDEN -->


> [!IMPORTANT]
> Adds user permissions management, including models, API endpoints, and
tests, alongside existing team permissions.
> 
>   - **Behavior**:
> - Adds user permissions alongside team permissions, allowing for
user-specific permission management.
> - Introduces `ProjectUserDirectPermission` model in `schema.prisma`
for direct user permissions.
>     - Updates `PermissionScope` enum from `GLOBAL` to `USER`.
>   - **API**:
> - Adds CRUD endpoints for user permissions in `user-permissions` and
`user-permission-definitions`.
> - Updates existing team permission endpoints to support user
permissions.
>   - **Tests**:
> - Adds e2e tests for user permissions in `user-permissions.test.ts`
and `user-permission-definitions.test.ts`.
> - Updates existing tests to include user permissions where applicable.
>   - **Misc**:
> - Updates `adminInterface.ts` and `server-app-impl.ts` to handle user
permissions.
> - Modifies `known-errors.tsx` to include `UserPermissionRequired`
error.
> - Adjusts `project-configs` and `projects` to include user default
permissions.
> 
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=stack-auth%2Fstack-auth&utm_source=github&utm_medium=referral)<sup>
for 8b73e668e2. It will automatically
update as commits are pushed.</sup>


<!-- ELLIPSIS_HIDDEN -->
2025-03-25 02:20:53 +01:00
..
(main) User permissions (#573) 2025-03-25 02:20:53 +01:00
api/[...any] Update "dashboard API no longer available" message 2024-12-19 12:10:54 -08:00
health Fix Sentry setup 2024-11-22 23:16:17 +01:00
client-polyfill.tsx Fix suspense error on dashboard 2024-07-26 17:08:20 -07:00
favicon.ico Split backend and dashboard (#83) 2024-06-18 15:49:31 +02:00
global-error.tsx Support create-next-app@15 with the setup wizard (#340) 2024-11-13 13:58:42 +01:00
globals.css Fix loading button indicator positioning 2025-02-11 20:36:43 -08:00
layout.tsx Port dashboard to Next.js 15 (#560) 2025-03-24 00:03:50 +01:00
loading.tsx Split backend and dashboard (#83) 2024-06-18 15:49:31 +02:00
not-found.tsx Advanced team invitations 2024-11-26 17:12:57 +01:00
pageview-dynamic.tsx Port dashboard to Next.js 15 (#560) 2025-03-24 00:03:50 +01:00
pageview.tsx Port dashboard to Next.js 15 (#560) 2025-03-24 00:03:50 +01:00
providers.tsx JS lib docs (#444) 2025-02-20 00:48:05 +01:00