Add assign item button to shared repository [SCI-8524] (#5478)

This commit is contained in:
ajugo 2023-05-25 15:46:58 +02:00 committed by GitHub
parent 1ea7f53e4b
commit b1a891e310
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,7 +72,7 @@ module Toolbars
end
def assign_action
return unless can_manage_repository_rows?(@repository)
return unless can_read_repository?(@repository)
return unless @repository_rows.all?(&:active?)