diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-19 08:27:35 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-19 08:27:35 +0000 |
commit | 7e9c479f7de77702622631cff2628a9c8dcbc627 (patch) | |
tree | c8f718a08e110ad7e1894510980d2155a6549197 /app/graphql/types/permission_types | |
parent | e852b0ae16db4052c1c567d9efa4facc81146e88 (diff) | |
download | gitlab-ce-7e9c479f7de77702622631cff2628a9c8dcbc627.tar.gz |
Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42
Diffstat (limited to 'app/graphql/types/permission_types')
-rw-r--r-- | app/graphql/types/permission_types/custom_emoji.rb | 11 | ||||
-rw-r--r-- | app/graphql/types/permission_types/note.rb | 2 |
2 files changed, 12 insertions, 1 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 diff --git a/app/graphql/types/permission_types/note.rb b/app/graphql/types/permission_types/note.rb index a585d3daaa8..923f2b660fe 100644 --- a/app/graphql/types/permission_types/note.rb +++ b/app/graphql/types/permission_types/note.rb @@ -5,7 +5,7 @@ module Types class Note < BasePermissionType graphql_name 'NotePermissions' - abilities :read_note, :create_note, :admin_note, :resolve_note, :award_emoji + abilities :read_note, :create_note, :admin_note, :resolve_note, :reposition_note, :award_emoji end end end |