Skip to content

Commit

Permalink
Hide Admin Set Viewers and Managers in UI
Browse files Browse the repository at this point in the history
These features are not yet implemented and are not in scope for Sufia 7.3.0 now that we are in release candidate mode.

Will be implemented in Hyrax post-1.0.0 and may be backported to Sufia.

Fixes #3149
  • Loading branch information
mjgiarlo committed Mar 15, 2017
1 parent 4f9ee98 commit bc6e6ba
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
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 bc6e6ba

Please sign in to comment.