Skip to content

Commit

Permalink
Merge pull request #3150 from projecthydra/hide_admin_set_viewers_and…
Browse files Browse the repository at this point in the history
…_managers

Hide Admin Set Viewers and Managers in UI
  • Loading branch information
mjgiarlo authored Mar 15, 2017
2 parents 4f9ee98 + bc6e6ba commit faf149f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/sufia/admin/admin_sets/_form_participants.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="panel panel-default labels">
<div class="panel-body">
<h2><%= t('.add_participants') %></h2>
<% access_options = options_for_select([['Manager', 'manage'], ['Depositor', 'deposit'], ['Viewer', 'view']]) %>
<% access_options = options_for_select([['Depositor', 'deposit']]) %>
<%= simple_form_for @form.permission_template,
url: [sufia, :admin, @form, :permission_template],
html: { id: 'group-participants-form' } do |f| %>
Expand Down Expand Up @@ -59,9 +59,9 @@

<fieldset>
<legend><%= t(".current_participants") %></legend>
<%= render 'form_participant_table', access: 'managers', filter: :manage? %>
<%# render 'form_participant_table', access: 'managers', filter: :manage? %>
<%= render 'form_participant_table', access: 'depositors', filter: :deposit? %>
<%= render 'form_participant_table', access: 'viewers', filter: :view? %>
<%# render 'form_participant_table', access: 'viewers', filter: :view? %>
</fieldset>
</div>
</div>
Expand Down

0 comments on commit faf149f

Please sign in to comment.