Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Commit

Permalink
Splitting emojis and webhooks permissions (#765)
Browse files Browse the repository at this point in the history
* Spliting emojis and webhooks permissions

* Keeping the old constants for backward compatibility
  • Loading branch information
jespino authored Mar 7, 2019
1 parent 33634b9 commit e7a6dea
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/constants/permissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ export default {
GET_PUBLIC_LINK: 'get_public_link',
MANAGE_WEBHOOKS: 'manage_webhooks',
MANAGE_OTHERS_WEBHOOKS: 'manage_others_webhooks',
MANAGE_INCOMING_WEBHOOKS: 'manage_incoming_webhooks',
MANAGE_OTHERS_INCOMING_WEBHOOKS: 'manage_others_incoming_webhooks',
MANAGE_OUTGOING_WEBHOOKS: 'manage_outgoing_webhooks',
MANAGE_OTHERS_OUTGOING_WEBHOOKS: 'manage_others_outgoing_webhooks',
MANAGE_OAUTH: 'manage_oauth',
MANAGE_SYSTEM_WIDE_OAUTH: 'manage_system_wide_oauth',
CREATE_POST: 'create_post',
Expand All @@ -56,4 +60,7 @@ export default {
MANAGE_JOBS: 'manage_jobs',
MANAGE_EMOJIS: 'manage_emojis',
MANAGE_OTHERS_EMOJIS: 'manage_others_emojis',
CREATE_EMOJIS: 'create_emojis',
DELETE_EMOJIS: 'delete_emojis',
DELETE_OTHERS_EMOJIS: 'delete_others_emojis',
};

0 comments on commit e7a6dea

Please sign in to comment.