stack/apps/dashboard/src/components
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
..
data-table User permissions (#573) 2025-03-25 02:20:53 +01:00
ui Improve metrics page chart sizing on Safari 2024-12-29 19:07:35 -08:00
confetti.tsx Split backend and dashboard (#83) 2024-06-18 15:49:31 +02:00
dev-error-notifier.tsx Tenancies (#418) 2025-02-07 22:54:04 -08:00
env-keys.tsx JS lib docs (#444) 2025-02-20 00:48:05 +01:00
error-page.tsx UI restructured (#161) 2024-08-02 01:03:01 +02:00
feedback-dialog.tsx Disallow invalid emails 2024-11-20 00:12:20 +01:00
form-dialog.tsx Added custom SMTP email server testing on the dashboard (#376) 2024-12-20 19:04:05 +01:00
form-fields.tsx Port dashboard to Next.js 15 (#560) 2025-03-24 00:03:50 +01:00
link.tsx Glassy dashboard style (#411) 2025-02-03 10:03:35 -08:00
logo.tsx Identity Provider/External OAuth (#323) 2024-11-30 23:27:55 -08:00
navbar.tsx added feedback dialog (#226) 2024-09-06 06:26:34 +02:00
permission-field.tsx Remove some console.error calls 2024-11-13 11:32:34 +01:00
project-card.tsx Project Cards should use Links (#513) 2025-03-07 01:54:47 -08:00
project-switcher.tsx fixed overflows 2024-10-16 22:41:20 -07:00
router.tsx Fix trailing space lint errors 2024-07-14 10:37:34 -07:00
search-bar.tsx Next.js 15 support (#315) 2024-11-08 03:12:31 +01:00
settings.tsx Option for merging/blocking account creations with same email but different oauth provider (#502) 2025-03-10 21:25:12 +00:00
site-loading-indicator.tsx Glassy dashboard style (#411) 2025-02-03 10:03:35 -08:00
smart-form.tsx Add way to create contact channles for admin (#543) 2025-03-13 23:00:42 +00:00
smart-image.tsx Split backend and dashboard (#83) 2024-06-18 15:49:31 +02:00
style-link.tsx Split backend and dashboard (#83) 2024-06-18 15:49:31 +02:00
theme-provider.tsx Require newline at the end of each file 2024-10-13 13:06:38 -07:00
theme-toggle.tsx Local emulator (#422) 2025-02-13 18:57:02 +01:00
user-dialog.tsx Rename UserEmailAlreadyExists to UserWithEmailAlreadyExists 2025-03-20 09:56:08 -07:00
user-dialogs.tsx add impersonate and error to user details page (#535) 2025-03-13 01:19:47 +00:00
version-alerter.tsx JS lib docs (#444) 2025-02-20 00:48:05 +01:00