Implement functionality to update project member permissions in settings (#56)

* Add mutation to update permissions of project member

* Use update project member permission client method in UI

* Handle review changes

---------

Co-authored-by: neeraj <neeraj.rtly@gmail.com>
This commit is contained in:
nabarunandneeraj authored and Ashwin Phatak committed 2024-02-01 11:37:57 +05:30
1 parent b5e7554c26
commit ace27c7eae
9 files changed
+134 -45

No files matched your search

+2 -2
View File
@@ -11,7 +11,7 @@ import {
import { Project } from './Project';
import { User } from './User';
enum Permissions {
export enum Permission {
View = 'View',
Edit = 'Edit'
}
@@ -32,7 +32,7 @@ export class ProjectMember {
@Column({
type: 'simple-array'
})
permissions!: Permissions[];
permissions!: Permission[];
@CreateDateColumn()
createdAt!: Date;