Project

General

Profile

Actions

Bug #9306

closed

User without hostgroup view permissions can't create discover rules

Added by Ori Rabin over 9 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
High
Category:
Discovery plugin
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I'm not sure this is a valid set of permissions, I created a user to test something else with these roles:
- Discovery
- Discovery Manager
- Discovery Reader
- View hosts
- Viewer

I then logged in with that user and created a discovery rule,
there was a notice that the rule was created successfully but I couldn't see the rule.
Checking as a user with permissions I can see the rules where created.

Then trying to auto_provision a host doesn't give a notice about no permissions but an error:

undefined method `transaction' for nil:NilClass


Related issues 2 (0 open2 closed)

Related to Discovery - Bug #12256: Rollback during discovered host provisioning errors with ERF42-8175 and causes post_commit orchestrationClosedLukas Zapletal10/22/2015Actions
Related to Discovery - Feature #13829: Add view_hosts permission to Discovery ReaderClosedLukas Zapletal02/22/2016Actions
Actions

Also available in: Atom PDF