Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Permission to add services without permission to add hosts #2416

Open
maggu opened this issue Oct 28, 2021 · 1 comment
Open

Comments

@maggu
Copy link

maggu commented Oct 28, 2021

Expected Behavior

I would like to be able to allow users to add/modify single services without allowing them to add/modify hosts. Hosts are imported from a different system, and should not exist only in Icinga.

Current Behavior

If I grant permission director/hosts users get to add new hosts.
If I grant director/services without director/hosts users get "Error: No permission for director/hosts" when trying to add or modify services.

Possible Solution

Let director/services in itself be enough to add or modify services.
OR
Introduce a read-only permission for hosts.

Your Environment

  • Director version (System - About): 1.8.1
  • Icinga Web 2 version and modules (System - About): 2.9.3
  • Icinga 2 version (icinga2 --version): 2.13.1-1
  • Operating System and version: CentOS 7.9.2009
  • Webserver, PHP versions: Apache HTTP Server 2.4.6, PHP 7.3.29
@maggu
Copy link
Author

maggu commented Mar 4, 2022

Also, regarding #2304, as far as I can understand (having tested 1.9.0):

If I grant director/monitoring/hosts and director/monitoring/services, a user can still modify nothing at all unless I also grant director/hosts. And if I do, that user can modify any host.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant