-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
No way to add users to an existing project #2
Comments
Thank you for trying to use the doccano! Now doccano does not have the feature to add users. You can use Django administrator page to create new users. |
thanks @icoxfog417. right, i can create new django users, that's no problem. |
Exactly, you can select the users of a project only when creating it. After you create the project, you have to use Django administrator page to manage users.
|
We should add this info somewhere in the documentation. It also seems that multiple user cannot work on the same project simultaneously, each user has to create his own project and work on it. Is that the case? |
@icoxfog417 Can you explain in more detail how to add more users to a project? I can indeed add new users through the Django Admin page. But I cannot assign these users to projects. The only way to have a user access a project seems to be to create that project as that user. |
@svenvanderburg When you open the project you created in Django Admin itself, you can multi-select the users that can access it. They will have the permissions that you assigned beforehand. |
@rbagd I tried that, but the users listed in the project don't actually have access to the project. Even if I add another user within a project, that user does not have access to it. Do I need to manually assign specific permissions for each user? And which ones? |
Usually, I put all users in a single group and give the group permissions only for the appropriate type of annotations they could do, e.g. |
I tried assigning a user to a group and give that group the permissions you suggested, but it still does not work. Even if I give a user all possible permissions and add it to the project, it can not view the project if it has been created by a different user. |
@svenvanderburg Can you make sure the users you have added appear indeed in the user list when you do a |
Yep, all users added show up in the 'users' list in the project detail page. |
I have experienced the same issue and I've noticed that if the project has been created once the users already existed, they are then able to see it. Jun 24: It looks now is working properly. I did two operations: |
When uploading datasets, the code uses a `bulk_create` to upload Examples and Labels. It then filters the data from the database based on when it was created. However, [Django doesn't enforce the list order when calling filter](https://stackoverflow.com/questions/7163640/what-is-the-default-order-of-a-list-returned-from-a-django-filter-call) unless ordering is specified. The previous behavior mismatched labels and examples. When this was shown in the UI, the data would show labels for incorrect examples (i.e. a label for message doccano#2 would be shown on message doccano#1). This fix enforces that the data is returned in the order it was inserted so that the data, label pair is as expected.
Thanks @Hironsan for this usefull repo.
I can't seem to find a way to add new users to an existing project form the dashboard.
If there's a quick way to do it programmatically pls let me know.
Other nice to have's:
The text was updated successfully, but these errors were encountered: