@sscarduzio Noticed something i wanted to bring to your attention. After installing ROR Pro, In the dashboards, when we select a visualization, and drill down into a specific time interval, in a readonly role, the “delete” icon has disappeared.
While we want readonly capabilities across the kibana stack as intended, the “delete” icon is something we dont want removed as its a very common feature that people use to delete filters on the dashboards and it doesnt impact and write functionality. Is there a way for us to fix the ACL rule so as to allow this? PS : not sure if this is a bug because of the “ro” access in kibana_access entry!
Hi Roger, I really think the absence of the delete button is coming from ROR UI mods in case the kibana access of the current user is RO or RO strict.
A workaround is to add custom style tag via the kibana.yml file and change the visibility of that specific CSS selector. Will have a look and try to not hide it from the next version of ROR PRO/Enterprise.
thanks @sscarduzio - that will be great. For now we are telling our users to refresh the whole screen to go back to default filterless view. this will only be a problem for the users who are enabling multiple filters and want to delete them one by one but we can live with it until the release!
@sscarduzio Any idea when this could be targetted for release? FYI we are targetting a release for the day after 7/12 EST. Were curious to see if the overlay fix for enabling delete filters even on “ro” could be available before that? No worries if this isn’t possible.
hey @sscarduzio
We tried this on different platforms (windows/MacOS) - deleted cache as well as worked in incognito mode (All in Chrome). Went live and this is also replicated in our PROD environment. Let me know if you need any specific info/dev tool logs etc from me to help debug this?
OK Chrome should definitely work with the selector we are using. Let me try to reproduce this using a stock ES & Kibana distribution, so that I replicate your environment more closely.
Then I logged in as “rouser” and added a filter to the “discover” view. Hovered over the filter and the icons are there. Also works if I press the said icons.
Create 6.3.0 Stack using CFTs
Install ROR on Elastic through User-Data
Install ROR on Kibana through User-Data
Ping “awating optimization of browser bundles”
Test Kibana Dashboards through RO and RW roles.
Each deloyment is transactionally isolated and brand new. Our proxies are pass through and don’t cache requests as well (i thought perhaps some problems over there). So technically, there’s no difference between the way we spin up our stack on local vs EC2.
It turned out that one of our plugins was overwrriting the commons.styles CSS file where you had put the fixes.
After changing the order of install, the delete filter fix was visible.
Thanks @sscarduzio. We’re good with this fix