fix(permissions): align workspace resource actions with role rules

This commit is contained in:
2026-04-28 10:02:37 +03:30
parent 9fceef3753
commit b1ad372474
8 changed files with 141 additions and 77 deletions

View File

@@ -1,12 +1,20 @@
export interface Client {
id: string;
name: string;
notes: string | null;
workspace: string;
can_delete: boolean;
created_at: string;
updated_at: string;
}
interface AuditUser {
id: string;
first_name?: string;
last_name?: string;
mobile?: string;
}
export interface Client {
id: string;
name: string;
notes: string | null;
workspace: string;
created_by?: AuditUser | null;
can_delete: boolean;
created_at: string;
updated_at: string;
}
export interface PaginatedClientList {
count: number;