summaryrefslogtreecommitdiff
path: root/app/graphql/types/permission_types/custom_emoji.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/permission_types/custom_emoji.rb')
-rw-r--r--app/graphql/types/permission_types/custom_emoji.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/graphql/types/permission_types/custom_emoji.rb b/app/graphql/types/permission_types/custom_emoji.rb
new file mode 100644
index 00000000000..0b2e7da44f5
--- /dev/null
+++ b/app/graphql/types/permission_types/custom_emoji.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+module Types
+ module PermissionTypes
+ class CustomEmoji < BasePermissionType
+ graphql_name 'CustomEmojiPermissions'
+
+ abilities :create_custom_emoji, :read_custom_emoji
+ end
+ end
+end