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

Code: 403 when creating a new task #639

Closed
edrdos101 opened this issue Aug 13, 2019 · 7 comments
Closed

Code: 403 when creating a new task #639

edrdos101 opened this issue Aug 13, 2019 · 7 comments
Labels
question Further information is requested

Comments

@edrdos101
Copy link

I am encountering the following error when trying to create a new task with a shared volume:
Code: 403. Message: {"detail":"You do not have permission to perform this action."}

Screenshot 2019-08-13 at 10 49 12

Couldn't find any mentions of this error in the issues, any advice would be much appreciated

Thanks!

@bsekachev
Copy link
Member

@edrdos101
How did you create this account? Probably you don't have permission for task creating.
You need to create a superuser account and than you can create other accounts (via default registration) and entitle them by the superuser account.

@bsekachev bsekachev added the question Further information is requested label Aug 13, 2019
@nmanovic
Copy link
Contributor

@edrdos101 , your user doesn't have enough privileges to create a task. Please read our documentation. You need to assign additional rights. The question was discussed many times on our gitter channel. I will close the issue for now. We definitely need better messages about errors but it is a separate issue.

@AeolusTech
Copy link

For anyone else encountering this problem - the fix is really easy, but it's not stated anywhere in the "User Guide" (as of February 24th 2021). Only a user assigned an admin role in the Django administration panel can create new tasks. Log in as a superuser and assign it properly. Hope that helps :)

@bsekachev
Copy link
Member

@AeolusTech

Only a user assigned an admin role

It is not exactly true. CVAT has different user groups: admins, users, annotators, observers.
Tasks can be created by a user who belongs to one admins or users.

@AeolusTech
Copy link

Thank you for a very quick reply, Boris! I am just starting with CVAT

@shajahanpc
Copy link

I'm using CVAT online tool, I created a project for my organization, But it is showing a warning message that you can add a project, you want permission. actually, where do I find this permission access to allow. Are there any other methods to add projects to organization?

Note: I use admin account and im on the one user for this account.

@nmanovic
Copy link
Contributor

@shajahanpc , if you are using cvat.org, you can have only "user" permissions. Users can create 3 projects and 10 tasks on the public instance (see the scope create in csv tables below).

https://github.com/openvinotoolkit/cvat/blob/develop/cvat/apps/iam/rules/projects.csv
https://github.com/openvinotoolkit/cvat/blob/develop/cvat/apps/iam/rules/tasks.csv

There are two possible options:

  • We can assign business permissions to your account on cvat.org temporary. To do that we need strong reasons. Please send us information about how you are using cvat.org inside your organization. Also please share information about your organization and needs.
  • You can setup your local CVAT instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants