3
0

upd(messaging): more specific permission keys

This commit is contained in:
Tit Petric
2019-02-06 13:52:08 +01:00
parent 960c06efb0
commit 8984dd4fa5
3 changed files with 18 additions and 18 deletions
@@ -50,38 +50,38 @@
"title": "Text Permissions",
"operations": [
{
"key": "send",
"key": "text.send",
"title": "Send Messages",
"enabled": true,
"default": "allow"
},
{
"key": "embed",
"key": "text.embed",
"title": "Embed Links",
"enabled": true,
"default": "allow"
},
{
"key": "attach",
"key": "text.attach",
"title": "Attach Files",
"enabled": true,
"default": "allow"
},
{
"key": "manage.own_messages",
"key": "text.edit_own",
"title": "Manage own messages",
"subtitle": "Members with this permission can edit/delete their own messages inside channels",
"enabled": true
},
{
"key": "manage.messages",
"key": "text.edit_all",
"title": "Manage messages",
"subtitle": "Members with this permission can edit/delete messages inside channels",
"enabled": true,
"default": "deny"
},
{
"key": "manage.react",
"key": "text.react",
"title": "Manage reactions",
"subtitle": "Members with this permission can add new reactions to a message",
"enabled": true,
+6 -6
View File
@@ -14,34 +14,34 @@
"title": "Text Permissions",
"operations": [
{
"key": "send",
"key": "text.send",
"title": "Send Messages",
"enabled": true
},
{
"key": "embed",
"key": "text.embed",
"title": "Embed Links",
"enabled": true
},
{
"key": "attach",
"key": "text.attach",
"title": "Attach Files",
"enabled": true
},
{
"key": "manage.own_messages",
"key": "text.edit_own",
"title": "Manage own messages",
"subtitle": "Members with this permission can edit/delete their own messages inside channels",
"enabled": true
},
{
"key": "manage.messages",
"key": "text.edit_all",
"title": "Manage messages",
"subtitle": "Members with this permission can edit/delete messages inside channels",
"enabled": true
},
{
"key": "manage.react",
"key": "text.react",
"title": "Manage reactions",
"subtitle": "Members with this permission can add new reactions to a message",
"enabled": true
+6 -6
View File
@@ -14,34 +14,34 @@
"title": "Text Permissions",
"operations": [
{
"key": "send",
"key": "text.send",
"title": "Send Messages",
"enabled": true
},
{
"key": "embed",
"key": "text.embed",
"title": "Embed Links",
"enabled": true
},
{
"key": "attach",
"key": "text.attach",
"title": "Attach Files",
"enabled": true
},
{
"key": "manage.own_messages",
"key": "text.edit_own",
"title": "Manage own messages",
"subtitle": "Members with this permission can edit/delete their own messages inside this channel",
"enabled": true
},
{
"key": "manage.messages",
"key": "text.edit_all",
"title": "Manage messages",
"subtitle": "Members with this permission can edit/delete messages inside this channel",
"enabled": true
},
{
"key": "manage.react",
"key": "text.react",
"title": "Manage reactions",
"subtitle": "Members with this permission can add new reactions to a message",
"enabled": true