doccano / doccano

Open source annotation tool for machine learning practitioners.
MIT License
9.57k stars 1.72k forks source link

New user type: temporary user #935

Open Hironsan opened 4 years ago

Hironsan commented 4 years ago

I'm thinking of dividing users into the following four types:

Description:

The permissions per user types are as follows:

  Super User Staff General User Temporary User
Admin Site        
 Login    
 Other operations dependes on permissions    
ProjectList        
 Create  
 List

This will help resolve Issue #920. In addition, this will allow staff and general users to create projects.

P.S.

  Administrator Annotator Auditor
ProjectDetail      
 View
 Update    
 Delete    
LabelList      
 Create    
 List
 Import    
LabelDetail      
 View
 Update    
 Delete    
DocumentList      
 Create    
 List
 Import    
 Export    
DocumentDetail      
 View
 Update    
 Delete    
AnnotationList      
 Create
 List
AnnotationDetail      
 View
 Update
 Delete
UserList      
 List    
RoeList      
 Create      
 List
RoleMappingList      
 Create    
 List    
RoleMappingDetail      
 View    
 Update    
 Delete    
Statistics      
 View    
ApproveLabels      
 Update  
br-dr3 commented 4 years ago

I do like the idea, but I think we can use more intuitive name. I don't think that "General Users" should be a good name to someone that is able to create projects. I guess this is a admin feature.

Maybe the actual names are easily to think: Admins -> Admins Approvers -> Staff and what you called General Users (Maybe third party users..) Annotators -> what you called Temporary Users

And the idea to have users been created inside Doccano frontend are awesome. I put a question recently to ask about it. #930 I didn't want to discuss, but I disagree that just because you prioritized Annotation feature, that this shouldn't be important. If a production environment be controlled by a consulting enterprise, you would need a admin to create users. If there is 1000 users and so on, this would be a big issue to have only admin creating it.

youichiro commented 3 years ago

I'm planning to add a new role for Temporary User. It's an annotator role that can't create projects. I can't think of a good name for it. For example, temporary_annotator? What do you think?

Hironsan commented 3 years ago

Candidates:

"Guest" is my favorite 🐈