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:
parent
04ed10b21e
commit
0883b3245b
41 changed files with 519 additions and 86 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue