Open amolnater-qasource opened 1 month ago
Pinging @elastic/fleet (Team:Fleet)
@manishgupta-qasource Please review.
Secondary review for this ticket is Done
@jen-huang @kpollich This is an interesting one, we do not have a read only mode for integration the current behavior disable the save button and, we could eventually disable all the fields, but this will have to be done also in plugin with custom editor, do you think we should go that way? or the current behavior is good enought?
@nchaulet When I saw this initially I mentally put it at the bottom of the pile because of the work involved (cascading "disabled" state through all the components that make up this form, plus like you said the custom forms from other plugins register). IMO disabling save button is good enough for now and this can be a future enhancement.
Or we could put a more visible "read only" mode callout at the top.
Kibana Build details:
Host OS: All
Role:
Preconditions:
Steps to reproduce:
Expected Result: Edit integration fields should be disabled with Role: Integrations- Read and Fleet- Read and sub modules- Read.
Screen Recording:
https://github.com/elastic/kibana/assets/77374876/d9c3911a-c715-4aa6-9140-397c27954a80
Feature: https://github.com/elastic/ingest-dev/issues/2903