fix: check for create permissions
This commit is contained in:
1 parent
66eb67ad49
commit
8d42dde9b2
5 files changed
+265
-239
No files matched your search
@@ -20,6 +20,20 @@ export interface AuthResponse {
|
||||
record: User;
|
||||
}
|
||||
|
||||
export interface PermissionResponse {
|
||||
id: string;
|
||||
collectionId: string;
|
||||
collectionName: string;
|
||||
user: User;
|
||||
create: boolean;
|
||||
read: Device[];
|
||||
update: Device[];
|
||||
delete: Device[];
|
||||
power: Device[];
|
||||
created: string;
|
||||
updated: string;
|
||||
}
|
||||
|
||||
export interface User {
|
||||
id: string;
|
||||
collectionId: string;
|
||||
|
||||
Reference in new issue
Block a user