To give the 'service' user permission to create, change and delete Maintenance Windows we had to make several changes to the files in ITSI.
1) Enable Maintenance Windows capabilities
First, in the 'authorize.conf' file we enabled the following capabilities for the 'service' user:
2) Make the Maintenance WIndow visible on the dashboard
The second step is to make the Maintenance Window visible to the 'service' user.In our case, the 'service' user should be able to access the Maintenance Window view but also be able to make changes. To do this we had to give the 'service' user read, write and delete permissions in the following ITSI views in the file 'local.meta':
access = read : [ itoa_admin, itoa_team_admin, service ], write: [ itoa_admin, itoa_team_admin, service ], delete: [ itoa_admin, itoa_team_admin, service ]
access = read : [ itoa_admin, itoa_team_admin, itoa_user, service ], write: [ itoa_admin, itoa_team_admin, itoa_user, service ], delete: [ itoa_admin, itoa_team_admin, itoa_user, service ]
You can find (or should I say, you should create) this file ('local.meta') in the following folder:
3) Set permissions for the KV store collections
The next step is to set the permissions for the KV store collections. This can be done in the 'local.meta' file (if this file doesn't exist, create it and don't make changes to the 'default.meta' file) in the following directory:
The only change we made in this file is that we gave read, write and delete permissions to the 'service' user to the following collection:
access = read : [ itoa_admin, itoa_team_admin, itoa_analyst, itoa_user, service ], write: [ itoa_admin, itoa_team_admin, service ], delete: [ itoa_admin, itoa_team_admin ]
4) Set shared Application-level permissions
Step is to set give the 'service' user write permissions to make changes to objects in shared applications. We made the change in the 'local.meta' file in the following directory:
5) Change permissions in the Global team
The last step was to give the 'service' user permission to access the entities and services that belong to the Global team. Without this the 'service' user couldn't put any entities or services in Maintenance Mode.
You can find the file in the following directory:
And that's how we made it possible for the 'service' user to create, change and delete Maintenance Windows 🙂
... View more
We need to allow a non admin user to be able to create, modify and delete maintenance windows from ITSI. We have try to add this capabilities to the user_role:
And also making the maintenance window lister available to the role.
But we still can not create the maintenance window with the user.
Can you please help us to understand what is missing?
... View more