feat(ui): Add separate permissions for 4K auto approval (#908)

* Clarify & fix permission descriptions

* Automatically check & disable auto-approve permission options when 'Manage Requests' permission is selected
This commit is contained in:
TheCatLady
2021-02-14 07:40:18 -05:00
committed by GitHub
parent 28090c30a7
commit 53b7425f67
7 changed files with 148 additions and 35 deletions

View File

@@ -14,6 +14,9 @@ export enum Permission {
REQUEST_4K_TV = 4096,
REQUEST_ADVANCED = 8192,
REQUEST_VIEW = 16384,
AUTO_APPROVE_4K = 32768,
AUTO_APPROVE_4K_MOVIE = 65536,
AUTO_APPROVE_4K_TV = 131072,
}
export interface PermissionCheckOptions {