1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

Add ability to choose what policy we have for NSFW videos

There is a global instance setting and a per user setting
This commit is contained in:
Chocobozzz 2018-04-19 11:01:34 +02:00
parent 04ed10b21e
commit 0883b3245b
No known key found for this signature in database
GPG key ID: 583A612D890159BE
41 changed files with 519 additions and 86 deletions

View file

@ -1,12 +1,13 @@
import { Account } from '../actors'
import { VideoChannel } from '../videos/video-channel.model'
import { UserRole } from './user-role'
import { NSFWPolicyType } from '../videos/nsfw-policy.type'
export interface User {
id: number
username: string
email: string
displayNSFW: boolean
nsfwPolicy: NSFWPolicyType
autoPlayVideo: boolean
role: UserRole
videoQuota: number