Test #9881 with multi-org disabled
This should be fixed before releasing the next release from master.
#3 Updated by Lukas Zapletal over 6 years ago
When testing this, make sure this also works with non-admin users. I think we need to add the following permissions to existing roles:
class AddOrglocPermissions < ActiveRecord::Migration def up [Role.find_by_name("Discovery Manager"), Role.find_by_name("Discovery Reader")].each do |r| next if r.nil? r.add_permissions!(["view_organizations", "view_locations"]) end end def down end end