Skip to content

Commit

Permalink
Fix revoke permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
LaRita Robinson committed Jan 18, 2024
1 parent 3ea6e43 commit d702dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/hyrax/permission_manager_decorator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def update_groups_for(mode:, groups:)
next if groups.include?(group_name)

# OVERRIDE:
group_or_role = group_or_role(name: g)
group_or_role = group_or_role(name: group_name)
next unless group_or_role
acl.revoke(mode).from(group_or_role)
end
Expand Down

0 comments on commit d702dd6

Please sign in to comment.