Browse Source
Feature/add settings to Access model (#5573)
* Add settings
* Update changelog
pull/5509/head
Thomas Kaul
3 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
9 additions and
0 deletions
-
CHANGELOG.md
-
prisma/migrations/20250924210446_added_settings_to_access/migration.sql
-
prisma/schema.prisma
|
|
@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. |
|
|
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
|
|
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
|
|
|
|
|
|
|
## Unreleased |
|
|
|
|
|
|
|
### Added |
|
|
|
|
|
|
|
- Added `settings` to the `Access` model |
|
|
|
|
|
|
|
## 2.201.0 - 2025-09-24 |
|
|
|
|
|
|
|
### Added |
|
|
|
|
|
@ -0,0 +1,2 @@ |
|
|
|
-- AlterTable |
|
|
|
ALTER TABLE "public"."Access" ADD COLUMN "settings" JSONB NOT NULL DEFAULT '{}'; |
|
|
@ -16,6 +16,7 @@ model Access { |
|
|
|
granteeUserId String? |
|
|
|
id String @id @default(uuid()) |
|
|
|
permissions AccessPermission[] @default([READ_RESTRICTED]) |
|
|
|
settings Json @default("{}") |
|
|
|
updatedAt DateTime @updatedAt |
|
|
|
userId String |
|
|
|
user User @relation("accessGive", fields: [userId], onDelete: Cascade, references: [id]) |
|
|
|