|
|
@ -115,18 +115,21 @@ export const PermissionEdit: React.FC<PermissionEditProps> = ({
|
|
|
|
name: intl.formatMessage(messages.request4k),
|
|
|
|
name: intl.formatMessage(messages.request4k),
|
|
|
|
description: intl.formatMessage(messages.request4kDescription),
|
|
|
|
description: intl.formatMessage(messages.request4kDescription),
|
|
|
|
permission: Permission.REQUEST_4K,
|
|
|
|
permission: Permission.REQUEST_4K,
|
|
|
|
|
|
|
|
requires: [{ permissions: [Permission.REQUEST] }],
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'request4k-movies',
|
|
|
|
id: 'request4k-movies',
|
|
|
|
name: intl.formatMessage(messages.request4kMovies),
|
|
|
|
name: intl.formatMessage(messages.request4kMovies),
|
|
|
|
description: intl.formatMessage(messages.request4kMoviesDescription),
|
|
|
|
description: intl.formatMessage(messages.request4kMoviesDescription),
|
|
|
|
permission: Permission.REQUEST_4K_MOVIE,
|
|
|
|
permission: Permission.REQUEST_4K_MOVIE,
|
|
|
|
|
|
|
|
requires: [{ permissions: [Permission.REQUEST] }],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'request4k-tv',
|
|
|
|
id: 'request4k-tv',
|
|
|
|
name: intl.formatMessage(messages.request4kTv),
|
|
|
|
name: intl.formatMessage(messages.request4kTv),
|
|
|
|
description: intl.formatMessage(messages.request4kTvDescription),
|
|
|
|
description: intl.formatMessage(messages.request4kTvDescription),
|
|
|
|
permission: Permission.REQUEST_4K_TV,
|
|
|
|
permission: Permission.REQUEST_4K_TV,
|
|
|
|
|
|
|
|
requires: [{ permissions: [Permission.REQUEST] }],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -135,6 +138,7 @@ export const PermissionEdit: React.FC<PermissionEditProps> = ({
|
|
|
|
name: intl.formatMessage(messages.autoapprove),
|
|
|
|
name: intl.formatMessage(messages.autoapprove),
|
|
|
|
description: intl.formatMessage(messages.autoapproveDescription),
|
|
|
|
description: intl.formatMessage(messages.autoapproveDescription),
|
|
|
|
permission: Permission.AUTO_APPROVE,
|
|
|
|
permission: Permission.AUTO_APPROVE,
|
|
|
|
|
|
|
|
requires: [{ permissions: [Permission.REQUEST] }],
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'autoapprovemovies',
|
|
|
|
id: 'autoapprovemovies',
|
|
|
@ -143,6 +147,7 @@ export const PermissionEdit: React.FC<PermissionEditProps> = ({
|
|
|
|
messages.autoapproveMoviesDescription
|
|
|
|
messages.autoapproveMoviesDescription
|
|
|
|
),
|
|
|
|
),
|
|
|
|
permission: Permission.AUTO_APPROVE_MOVIE,
|
|
|
|
permission: Permission.AUTO_APPROVE_MOVIE,
|
|
|
|
|
|
|
|
requires: [{ permissions: [Permission.REQUEST] }],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'autoapprovetv',
|
|
|
|
id: 'autoapprovetv',
|
|
|
@ -151,6 +156,7 @@ export const PermissionEdit: React.FC<PermissionEditProps> = ({
|
|
|
|
messages.autoapproveSeriesDescription
|
|
|
|
messages.autoapproveSeriesDescription
|
|
|
|
),
|
|
|
|
),
|
|
|
|
permission: Permission.AUTO_APPROVE_TV,
|
|
|
|
permission: Permission.AUTO_APPROVE_TV,
|
|
|
|
|
|
|
|
requires: [{ permissions: [Permission.REQUEST] }],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -159,6 +165,12 @@ export const PermissionEdit: React.FC<PermissionEditProps> = ({
|
|
|
|
name: intl.formatMessage(messages.autoapprove4k),
|
|
|
|
name: intl.formatMessage(messages.autoapprove4k),
|
|
|
|
description: intl.formatMessage(messages.autoapprove4kDescription),
|
|
|
|
description: intl.formatMessage(messages.autoapprove4kDescription),
|
|
|
|
permission: Permission.AUTO_APPROVE_4K,
|
|
|
|
permission: Permission.AUTO_APPROVE_4K,
|
|
|
|
|
|
|
|
requires: [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
permissions: [Permission.REQUEST, Permission.REQUEST_4K],
|
|
|
|
|
|
|
|
type: 'and',
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
],
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'autoapprove4k-movies',
|
|
|
|
id: 'autoapprove4k-movies',
|
|
|
@ -167,6 +179,15 @@ export const PermissionEdit: React.FC<PermissionEditProps> = ({
|
|
|
|
messages.autoapprove4kMoviesDescription
|
|
|
|
messages.autoapprove4kMoviesDescription
|
|
|
|
),
|
|
|
|
),
|
|
|
|
permission: Permission.AUTO_APPROVE_4K_MOVIE,
|
|
|
|
permission: Permission.AUTO_APPROVE_4K_MOVIE,
|
|
|
|
|
|
|
|
requires: [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
permissions: [Permission.REQUEST],
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
permissions: [Permission.REQUEST_4K, Permission.REQUEST_4K_MOVIE],
|
|
|
|
|
|
|
|
type: 'or',
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'autoapprove4k-tv',
|
|
|
|
id: 'autoapprove4k-tv',
|
|
|
@ -175,6 +196,15 @@ export const PermissionEdit: React.FC<PermissionEditProps> = ({
|
|
|
|
messages.autoapprove4kSeriesDescription
|
|
|
|
messages.autoapprove4kSeriesDescription
|
|
|
|
),
|
|
|
|
),
|
|
|
|
permission: Permission.AUTO_APPROVE_4K_TV,
|
|
|
|
permission: Permission.AUTO_APPROVE_4K_TV,
|
|
|
|
|
|
|
|
requires: [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
permissions: [Permission.REQUEST],
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
permissions: [Permission.REQUEST_4K, Permission.REQUEST_4K_TV],
|
|
|
|
|
|
|
|
type: 'or',
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|