Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
juadde opened this issue May 2, 2023 · 3 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@juadde
Copy link
Contributor

juadde commented May 2, 2023

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 juadde added the bug Something isn't working label May 2, 2023
@whikernel
Copy link
Contributor

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.

@juadde
Copy link
Contributor Author

juadde commented May 2, 2023

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

@whikernel
Copy link
Contributor

It's been added with additional permissions on the way 👍 617982e

@whikernel whikernel self-assigned this May 17, 2023
@whikernel whikernel added this to the v2.1.0 milestone May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants