mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-03 11:01:20 +01:00
docs: add missing privileges prop to world schema
This commit is contained in:
@@ -48,6 +48,33 @@ get:
|
|||||||
hasFollowers:
|
hasFollowers:
|
||||||
type: boolean
|
type: boolean
|
||||||
nullable: true
|
nullable: true
|
||||||
|
privileges:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
topics:create:
|
||||||
|
type: boolean
|
||||||
|
topics:read:
|
||||||
|
type: boolean
|
||||||
|
topics:schedule:
|
||||||
|
type: boolean
|
||||||
|
topics:tag:
|
||||||
|
type: boolean
|
||||||
|
read:
|
||||||
|
type: boolean
|
||||||
|
posts:view_deleted:
|
||||||
|
type: boolean
|
||||||
|
cid:
|
||||||
|
type: string
|
||||||
|
example: '-1'
|
||||||
|
uid:
|
||||||
|
type: number
|
||||||
|
description: A user identifier
|
||||||
|
editable:
|
||||||
|
type: boolean
|
||||||
|
view_deleted:
|
||||||
|
type: boolean
|
||||||
|
isAdminOrMod:
|
||||||
|
type: boolean
|
||||||
title:
|
title:
|
||||||
type: string
|
type: string
|
||||||
topicCount:
|
topicCount:
|
||||||
|
|||||||
Reference in New Issue
Block a user