diff options
author | Chocobozzz <me@florianbigard.com> | 2020-04-20 15:32:11 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-04-20 15:42:27 +0200 |
commit | b3af2601da92a6c0835cb2473b4c7a41a0d86e98 (patch) | |
tree | a20984ec2df1c22f235d03909177629892721c54 /support | |
parent | 8c7725dc3c01a73bf56a48c8b192d144bfdc3ffe (diff) | |
download | PeerTube-b3af2601da92a6c0835cb2473b4c7a41a0d86e98.tar.gz PeerTube-b3af2601da92a6c0835cb2473b4c7a41a0d86e98.tar.zst PeerTube-b3af2601da92a6c0835cb2473b4c7a41a0d86e98.zip |
Add ability to remove privacies using plugins
Diffstat (limited to 'support')
-rw-r--r-- | support/doc/plugins/guide.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/support/doc/plugins/guide.md b/support/doc/plugins/guide.md index 1bee1f611..fdad63087 100644 --- a/support/doc/plugins/guide.md +++ b/support/doc/plugins/guide.md | |||
@@ -14,7 +14,10 @@ | |||
14 | - [Update video constants](#update-video-constants) | 14 | - [Update video constants](#update-video-constants) |
15 | - [Add custom routes](#add-custom-routes) | 15 | - [Add custom routes](#add-custom-routes) |
16 | - [Client helpers (themes & plugins)](#client-helpers-themes--plugins) | 16 | - [Client helpers (themes & plugins)](#client-helpers-themes--plugins) |
17 | - [Plugin static route](#plugin-static-route) | 17 | - [Plugin static route](#plugin-static-route) |
18 | - [Notifier](#notifier) | ||
19 | - [Markdown Renderer](#markdown-renderer) | ||
20 | - [Custom Modal](#custom-modal) | ||
18 | - [Translate](#translate) | 21 | - [Translate](#translate) |
19 | - [Get public settings](#get-public-settings) | 22 | - [Get public settings](#get-public-settings) |
20 | - [Publishing](#publishing) | 23 | - [Publishing](#publishing) |
@@ -180,6 +183,9 @@ videoCategoryManager.deleteCategory(1) // Music | |||
180 | 183 | ||
181 | videoLicenceManager.addLicence(42, 'Best licence') | 184 | videoLicenceManager.addLicence(42, 'Best licence') |
182 | videoLicenceManager.deleteLicence(7) // Public domain | 185 | videoLicenceManager.deleteLicence(7) // Public domain |
186 | |||
187 | videoPrivacyManager.deletePrivacy(2) // Remove Unlisted video privacy | ||
188 | playlistPrivacyManager.deletePlaylistPrivacy(3) // Remove Private video playlist privacy | ||
183 | ``` | 189 | ``` |
184 | 190 | ||
185 | #### Add custom routes | 191 | #### Add custom routes |