feat: make api more secure (#2015)

make api more secure
This commit is contained in:
Bernd Storath
2025-07-09 15:42:29 +02:00
committed by GitHub
parent 0abc419db7
commit 90b9ba15ec
3 changed files with 32 additions and 2 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ type RolesWithPermissions = {
export type Permissions = {
clients: {
dataType: ClientType;
dataType: Pick<ClientType, 'id' | 'userId'>;
action: 'view' | 'create' | 'update' | 'delete' | 'custom';
};
admin: {