PikaCourse / homiehomie

3 stars 0 forks source link

[Idea] Use group permissions for user to use the product #77

Open William-An opened 3 years ago

William-An commented 3 years ago

What is this idea related to?

backend

Is your feature request related to a problem? Please describe.

We need to classify users into different groups with different permission on the apis and data model. For instance, we can have moderators to help manage the content and unverified users to not be able to add content but only view. It also makes the user management backend easier for checking if a request has the permission or not

Describe the solution you'd like

  1. [ ] Set up various groups to classify user
  2. [ ] Set group permission for user: group permission
  3. [ ] Use DRF DjangoModelPermissions