Merge pull request #15829 from overleaf/ii-ide-page-prototype-permissions

[web] React ide page permissions

GitOrigin-RevId: 727d33e0654d4bfefe5e710e553895f793cacb82
This commit is contained in:
ilkin-overleaf
2023-11-24 09:04:27 +00:00
committed by Copybot
parent 1f39b6d72a
commit e4f5afc0c0
14 changed files with 168 additions and 48 deletions
@@ -10,13 +10,6 @@ import { ReviewPanelCommentThread } from './comment-thread'
export type SubView = 'cur_file' | 'overview'
export interface ReviewPanelPermissions {
read: boolean
write: boolean
admin: boolean
comment: boolean
}
export type ThreadId = Brand<string, 'ThreadId'>
// Entries may contain `add-comment` and `bulk-actions` props along with DocIds
// Ideally the `add-comment` and `bulk-actions` objects should not be within the entries object