Project

General

Profile

Actions

Bug #9910

open

Test #9881 with multi-org disabled

Added by Dominic Cleal about 9 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Discovery plugin
Difficulty:
Triaged:
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 1 (0 open1 closed)

Related to Discovery - Bug #9881: Discovery rules are not connected to taxonomies ClosedOri Rabin03/24/2015Actions
Actions #1

Updated by Dominic Cleal about 9 years ago

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

Updated by Lukas Zapletal about 9 years ago

  • Category set to Discovery plugin
  • Target version set to Discovery Plugin 2.0.3
Actions #3

Updated by Lukas Zapletal almost 9 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
Actions #4

Updated by Lukas Zapletal about 8 years ago

  • Target version changed from Discovery Plugin 2.0.3 to Discovery Plugin 6.0
Actions #5

Updated by Lukas Zapletal almost 8 years ago

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

Also available in: Atom PDF