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

After adding users in Django Admin, still there are no field Users when creating project #231

Closed
zhangxieyang2 opened this issue Jun 4, 2019 · 4 comments
Labels
question Further information is requested

Comments

@zhangxieyang2
Copy link

zhangxieyang2 commented Jun 4, 2019

System information

  • Linux Ubuntu 14.04:
  • Python version 3.6:
  • Nodejs v8.16.0
  • Django 2.1.7
  • Browser: Chrome

Describe the problem

I add a user and a group in Django Admin. The group is assigned with the following permissions.
image
Then the user is added to this group.
However, when I login with admin user and create a new project, I can't see the User sub panel.
The problem is similar with issue#198 except that I have already create a user and assign corresponding permissions to him.

Source code / logs

Besides, when I do a GET request to $BASE_URL/v1/projects/$PROJECT_ID, I can see the added users as the following image shows
image

Thank you for your tips in advance !

@rbagd
Copy link

rbagd commented Jun 4, 2019

Make sure to use Ctrl, multi-select users that will have access to the project and then save the configuration.

users

@icoxfog417 icoxfog417 added the question Further information is requested label Jun 4, 2019
@gabrer
Copy link

gabrer commented Jun 24, 2019

Make sure to use Ctrl, multi-select users that will have access to the project and then save the configuration.

users

Thank you for pointing this out!
I know is written just below the box, but this kind of UX was very unintuitive for me.
I would have expected something analogous to the way permissions are granted to users, e.g. with two boxes where you can move options from the left to right box.

@c-w
Copy link
Member

c-w commented Aug 13, 2019

Note that pull request #333 introduces RBAC which removes the need to use the Django admin to assign users to projects: there is now a tab for each project where new users can be assigned to projects and their access level for the project can be set (e.g. project admin, annotation approver, labeler).

@icoxfog417
Copy link
Contributor

This is the Django Admin issue that not related to doccano.

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