Bug #9910
open
Test #9881 with multi-org disabled
Added by Dominic Cleal over 9 years ago.
Updated over 8 years ago.
Category:
Discovery plugin
|
Description
As per PR comments some of the changes made in #9881 don't look like they will work when multi-org is disabled.
1. diff with orgs/locs disabled, would a host even have one set to be able to check if it's in the rules?
2. If orgs/locs are disabled, this form is disabled apart from a name text box: diff
This should be fixed before releasing the next release from master.
- Related to Bug #9881: Discovery rules are not connected to taxonomies added
- Category set to Discovery plugin
- Target version set to Discovery Plugin 2.0.3
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
- Target version changed from Discovery Plugin 2.0.3 to Discovery Plugin 6.0
- Priority changed from High to Low
- Target version deleted (
Discovery Plugin 6.0)
Also available in: Atom
PDF