Icinga / icingaweb2

A lightweight and extensible web interface to keep an eye on your environment. Analyse problems and act on them.
https://icinga.com/get-started/
GNU General Public License v2.0
809 stars 282 forks source link

FeatureRequest Clone Roles #5252

Open moreamazingnick opened 2 months ago

moreamazingnick commented 2 months ago

It would be nice to be able to clone existing roles. Sometimes they are very similar but not suitable for inheritance.

Best Regards Nicolas

nilmerg commented 2 months ago

Hi Nicolas,

since you've brought inheritance by yourself on the table, may I ask what exactly makes a role not suitable for this?

slalomsk8er commented 2 months ago

Maybe I can answer from our perspective?

My alerting and also the roles are mostly team based and some times application/service based.

I utilize inheritance for basic common settings and for department settings and it would help to be able to clone a role of a team from the same department as it would also have the right inheritances and I would only have to change the users, groups and a couple of filters.

Currently I have to add a new role, add the users and groups, inheritances. And then, I have to jump around between the new and an existing role to copy paste and edit the filters. IMHO, the last part would be improved by cloning.

nilmerg commented 2 months ago

I see, thanks. Indeed, there are things that inheriting roles cannot influence, namely permission denials and restrictions.