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

Restrict access to unassigned jobs #1578

Closed
2 tasks done
ActiveChooN opened this issue May 21, 2020 · 1 comment · Fixed by #3788
Closed
2 tasks done

Restrict access to unassigned jobs #1578

ActiveChooN opened this issue May 21, 2020 · 1 comment · Fixed by #3788
Assignees
Labels
enhancement New feature or request

Comments

@ActiveChooN
Copy link
Contributor

My actions before raising this issue

Expected Behaviour

User must not have access to unassigned jobs and see them.

Current Behaviour

Unassigned jobs now is presented in jobs list and users can see them, if they are assigned on some job in the task. But links to unassigned tasks follow to 403 error. It might be a little confusing.

изображение

изображение

изображение

Possible Solution

Filter jobs in a task only with assigned ones.

Steps to Reproduce (for bugs)

  1. Create a task as admin with multiple jobs and assign some job to some user.
  2. Log in CVAT with that user credentials.
  3. Open assigned task
  4. Go to any unassigned job

Context

Your Environment

  • Git hash commit (git log -1):
  • Docker version docker version (e.g. Docker 17.0.05):
  • Are you using Docker Swarm or Kubernetes?
  • Operating System and version (e.g. Linux, Windows, MacOS):
  • Code example or link to GitHub repo or gist to reproduce problem:
  • Other diagnostic information / logs:
    Logs from `cvat` container

Next steps

You may join our Gitter channel for community support.

@azhavoro azhavoro added the enhancement New feature or request label May 22, 2020
@omersefaozturk
Copy link

@azhavoro @ActiveChooN, Is there any improvement or any solution in this matter?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants