expand access of ccs to builders

This commit is contained in:
r888888888
2017-08-02 17:15:16 -07:00
parent 28dc153d87
commit d32e1a51ab

View File

@@ -141,7 +141,7 @@
Upload - <%= Danbooru.config.app_name %>
<% end %>
<% if CurrentUser.is_moderator? && Danbooru.config.ccs_server.present? && @normalized_url %>
<% if CurrentUser.is_builder? && Danbooru.config.ccs_server.present? && @normalized_url %>
<% content_for(:html_header) do %>
<%= tag("meta", name: "ccs-server", content: Danbooru.config.ccs_server) %>
<%= tag("meta", name: "image-url", content: @normalized_url) %>