statusengine / interface

AngularJS based Web Interface for Statusengine
https://statusengine.org/ui/#overview
GNU General Public License v3.0
18 stars 7 forks source link

Nagios Users/Group Auth #26

Closed fredericksimon closed 4 years ago

fredericksimon commented 5 years ago

Hello,

Can you add relation between UI users and Nagios Contacts/Groups ?

User 1 - hostgroup 1 User 2 - hostgroup 1 User 3 - hostgroup 1 & 2

for example : When Users 1 or 2 is connected in UI, they access only hostgroup 1 When Users 3 is connected, he access hostgroup 1 & 2

Sorry for my poor english :-) but your project is very nice.

nook24 commented 5 years ago

Hi @fredericksimon, at the moment the Statusengine Worker does not save object configurations (like hostgroups, contacts, hosts, services and so on) to the database anymore. This was done in Statusengine V2 but removed with Statusengine 3.

Maybe this will come back some day, but I don't promise. For this reason it is not possible to link Nagios/Naemon Contacts to Ui Users. The Ui simply don't know which Contacts and Hostgroups exists. In addition, implementing user roles and permissions is a hell i don't really want to go through in my spare time 🙃

If user permissions are a must have for you, you should take a look at one of the following (or any other) open source projects:

Hope this helps.

Sorry for my poor english :-)

No problem. You could also write in Gearman if this helps.

but your project is very nice.

Happy to read this! You are welcome!

fredericksimon commented 5 years ago

Sorry, I read message by mail not on github webpage. Thanks for this response and I'm completly agree with you.

In this case, could the use of LDAP be suitable for my use? allow users to see only certain hosts?

nook24 commented 4 years ago

I do not plan to implement any user permissions. For this reason i close this down. As mentioned above the https://github.com/it-novum/openITCOCKPIT project supports user roles and permissions so you could give it a try.