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

Create a limited user role #302

Closed
1 of 4 tasks
Tracked by #304
msm-code opened this issue Dec 21, 2022 · 0 comments · Fixed by #314
Closed
1 of 4 tasks
Tracked by #304

Create a limited user role #302

msm-code opened this issue Dec 21, 2022 · 0 comments · Fixed by #314
Milestone

Comments

@msm-code
Copy link
Contributor

Feature Category

  • Correctness
  • User Interface / User Experience
  • Performance
  • Other (please explain)

Describe the problem

I think about setting up a publicly available instance. In the current implementation, even if current user is not an admin, they can cancel every query in the system.

Describe the solution you'd like

When anonymous users are enabled, we may not want them to be able to cancel each other queries. We just want them to see their queries (and possibly queries of other people).

Describe alternatives you've considered

This is a case of a more general problem: how do we handle user permissions and roles. Some open-ended questions:

  • We support anonymous browsing (i.e. anonymous user may be given role of an user). Should anonymous users be able to cancel their own searches? If yes - how do we identify them?
  • Should logged-in users be able to cancel their queries? What about queries of other users?
  • Should users see each other queries? The same goes - if we want every user to see only their queries, how do we implement this for anonymous users?
@msm-code msm-code added this to the v1.4.0 milestone Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant