Add access control rework
This commit is contained in:
@@ -58,6 +58,10 @@ export const RoomsActions = createActionGroup({
|
||||
'Update Room Settings Failure': props<{ error: string }>(),
|
||||
|
||||
'Update Room Permissions': props<{ roomId: string; permissions: Partial<RoomPermissions> }>(),
|
||||
'Update Room Access Control': props<{
|
||||
roomId: string;
|
||||
changes: Pick<Partial<Room>, 'roles' | 'roleAssignments' | 'channelPermissions' | 'slowModeInterval'>;
|
||||
}>(),
|
||||
|
||||
'Update Server Icon': props<{ roomId: string; icon: string }>(),
|
||||
'Update Server Icon Success': props<{ roomId: string; icon: string; iconUpdatedAt: number }>(),
|
||||
|
||||
Reference in New Issue
Block a user