iris-web icon indicating copy to clipboard operation
iris-web copied to clipboard

[BUG] "Permission denied" for search as an Analysts (Search is OK for administrators)

Open juadde opened this issue 3 years ago • 3 comments

Describe the bug Search is unavailable for analysts (so either it is intended and then why the user should be able to access this menu - or maybe the search should be configured by another mean?)

To Reproduce Steps to reproduce the behavior:

  1. Launch IRIS
  2. Create a user
  3. Put the user in "Analyst" group
  4. Give full rights on the case to the "Analyst" group
  5. Try to search (e.g. with the wildcard)
  6. See red popup on the bottom left with"Permission denied"

(One can also login to the demo website and try to perform a search when being a standard user)

Expected behavior Search should be able to work as it does for administrator.

Screenshots image

Desktop (please complete the following information):

  • OS: Ubuntu 22
  • Browser: Firefox 112

Additional context I guess search should be working for analysts too, please let me know if I misunderstood this feature.

juadde avatar May 02 '23 15:05 juadde

Hi @juadde

That was on purpose but indeed it depends on the use cases. I added a new permissions search_across_cases so anyone can choose :) It will be pushed in the next release.

whikernel avatar May 02 '23 15:05 whikernel

Hi @whikernel, thanks, do you intend to hide the tab menu if the right is not set?

juadde avatar May 02 '23 15:05 juadde

It's been added with additional permissions on the way 👍 https://github.com/dfir-iris/iris-web/commit/617982e84349eafcecaee3e885462a9c9f7437ca

whikernel avatar May 02 '23 16:05 whikernel