diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-11 15:09:19 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-11 15:09:19 +0300 |
commit | 30f9120ba63ea54283c34a046de691a3dbf59450 (patch) | |
tree | 5ff9502c877d088e8985cf6636d1a5566accf540 /lib | |
parent | 34facbbce9531f6c9a0ca8e4eaa112e4cd3d7e06 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/markdown.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/api/markdown.rb b/lib/api/markdown.rb index c465087c4a2..1f8255fd6a4 100644 --- a/lib/api/markdown.rb +++ b/lib/api/markdown.rb @@ -2,7 +2,9 @@ module API class Markdown < ::API::Base - feature_category :not_owned # rubocop:todo Gitlab/AvoidFeatureCategoryNotOwned + before { authenticate! if Feature.enabled?(:authenticate_markdown_api, type: :ops) } + + feature_category :team_planning params do requires :text, type: String, desc: "The markdown text to render" |