Skip to content

Commit

Permalink
rev button visibility change
Browse files Browse the repository at this point in the history
  • Loading branch information
WelpThatWorked committed Jan 6, 2025
1 parent f145481 commit 789c73c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/tags_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def tag_category_name(tag_type)

# Should the current user be able to access tag wrangling pages?
def can_wrangle?
policy(:wrangling).read_access? || (current_user.is_a?(User) && current_user.is_tag_wrangler?)
logged_in_as_admin? || (current_user.is_a?(User) && current_user.is_tag_wrangler?)
end

# Determines whether or not to display warnings for a creation
Expand Down

0 comments on commit 789c73c

Please sign in to comment.