coco-annotator
coco-annotator copied to clipboard
Invite Members
I have created a few users, but there are no users that can be invited in Invite Members. Only one existing member? Admin @admin Last viewed: 2020-01-05 02:57:35 UTC
Question two: Now the statistics are only Crunching numbers ...
These questions have Loading datasets tips
Check the database and see if the users are begin created
I have the same problem. I haven't checked the database, but I was able to log in with newly created user. Also, this user is visible in the admin panel, but I can't invite him to a dataset.
User has id from mongo, so I think it was properly created
@jsbroks I only see getting users for a specific dataset, not adding even in API. Is it not implemented, or I looking in a wrong place? Even if so it still does not work from UI.
It is not implemented in backend/database/datasets.py as well, I not very experienced in flask, but I can probably fix it in backend, but I will ask for a bit of guidance.
First I
- add a method to
backend/database/datasets.py
DatasetModel
with will add username toself.users
- add a POST endpoint in
backend/webserver/api/datasets.py
which will utilize this method to add a user to dataset
Right?