-
-
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
Guest
user able to annotate
#413
Comments
Pull request #333 implements a proposal for a business-logic permission system for doccano. The roles we propose are "Annotator" (can annotate documents in a project) and "Annotation Approver" (can approve annotations in a project). Once the pull request is merged, adding a "Guest" or "Viewer" role should be fairly easy. cc @margaretmeehan |
Maybe solved in #333 |
Definitely not solved in #333. @c-w @margaretmeehan It seems that roles & groups in django are very different. There is no way to assign view-only capabilities to a 'Role' but it is capable to do that to a 'Group'. Can we reopen the issue? |
We should be able to extend the role model introduced in #333 to add a "view only" role. A project admin can then invite users to projects and set their role as "view only" so that those users can only see data but not annotate it. This isn't implemented currently but should be a relatively small amount of effort. Would that work for your use-case? |
Yes, would work great! Thanks @c-w |
See #430 @atakanokan |
Looks really good! Hopefully will be merged soon. |
How to reproduce the behaviour
I created a
guest
user that only has the following permission + assigned to one project:However, when I log in using this account, the user is still able to annotate. I want the
guest
user to be able to only view the annotations and nothing else.Project Details
Collaborative annotation: True
Type: Sequence Labeling
Your Environment
The text was updated successfully, but these errors were encountered: