diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 688b5e79b..cb491d1d0 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -85,7 +85,7 @@ protected
end
end
- %w(member banned privileged platinum contributor janitor moderator admin).each do |level|
+ %w(member banned builder privileged platinum contributor janitor moderator admin).each do |level|
define_method("#{level}_only") do
if CurrentUser.user.__send__("is_#{level}?")
true
diff --git a/app/views/artist_versions/index.html.erb b/app/views/artist_versions/index.html.erb
index efaca2894..1df403f22 100644
--- a/app/views/artist_versions/index.html.erb
+++ b/app/views/artist_versions/index.html.erb
@@ -37,7 +37,9 @@
- <%= link_to "Revert", revert_artist_path(artist_version.artist_id, :version_id => artist_version.id), :method => :put, :confirm => "Are you sure you want to revert this artist?" %>
+ <% if CurrentUser.is_member? %>
+ <%= link_to "Revert", revert_artist_path(artist_version.artist_id, :version_id => artist_version.id), :method => :put, :confirm => "Are you sure you want to revert this artist?" %>
+ <% end %>
|
<% end %>
diff --git a/app/views/artists/_secondary_links.html.erb b/app/views/artists/_secondary_links.html.erb
index 4f477f30d..6721088d7 100644
--- a/app/views/artists/_secondary_links.html.erb
+++ b/app/views/artists/_secondary_links.html.erb
@@ -10,7 +10,9 @@
|
<%= link_to "Posts", posts_path(:tags => @artist.name) %>
<%= link_to "Show", artist_path(@artist) %>
- <%= link_to "Edit", edit_artist_path(@artist) %>
+ <% if CurrentUser.is_member? %>
+ <%= link_to "Edit", edit_artist_path(@artist) %>
+ <% end %>
<%= link_to "History", artist_versions_path(:search => {:artist_id => @artist.id}) %>
<% if CurrentUser.is_admin? %>
<%= link_to "Ban", ban_artist_path(@artist), :method => :put %>
diff --git a/app/views/comments/partials/index/_list.html.erb b/app/views/comments/partials/index/_list.html.erb
index 0f84ca39f..ef1bf14b3 100644
--- a/app/views/comments/partials/index/_list.html.erb
+++ b/app/views/comments/partials/index/_list.html.erb
@@ -21,8 +21,10 @@
-
+ <% if CurrentUser.is_member? %>
+
+ <% end %>
diff --git a/app/views/forum_posts/_forum_post.html.erb b/app/views/forum_posts/_forum_post.html.erb
index 6e597192a..2bbd650f2 100644
--- a/app/views/forum_posts/_forum_post.html.erb
+++ b/app/views/forum_posts/_forum_post.html.erb
@@ -20,10 +20,10 @@
<% end %>
<%= link_to "Post comment", new_comment_path, :class => "expand-comment-response" %>
- <%= render "comments/partials/new/form", :post => post %> -