Project

General

Profile

Bug #9910

Test #9881 with multi-org disabled

Added by Dominic Cleal over 6 years ago. Updated over 5 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Discovery plugin
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

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 issues

Related to Discovery - Bug #9881: Discovery rules are not connected to taxonomies Closed2015-03-24

History

#1 Updated by Dominic Cleal over 6 years ago

  • Related to Bug #9881: Discovery rules are not connected to taxonomies added

#2 Updated by Lukas Zapletal over 6 years ago

  • Category set to Discovery plugin
  • Target version set to Discovery Plugin 2.0.3

#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

#4 Updated by Lukas Zapletal over 5 years ago

  • Target version changed from Discovery Plugin 2.0.3 to Discovery Plugin 6.0

#5 Updated by Lukas Zapletal over 5 years ago

  • Priority changed from High to Low
  • Target version deleted (Discovery Plugin 6.0)

Also available in: Atom PDF