-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Labels
BSoC'24Issues available during BSoC 2024Issues available during BSoC 2024difficulty - mediumenhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
The blogs that are uploaded in the website could be at risk of being polluted with content not fit for public. So for that reason, we want the blogs to be approved by the admin before being displayed for public at /blogs page.
Describe the solution you'd like!
The solution is to introduce a feature to approve blogs by the admin before being available for general audience. The solution may include:
- Introducing a new Boolean field in blogs model 'approved' with default as False.
- Only allowing users to see blogs that are approved by admin.
- At
/adminportal, make a table "Blogs to be approved" under dashboard for admin consisting to blogs awaiting approval. - Add two buttons in the table, "Approve" and "Discard". "Approve" will change the value of approved field in blogs model to True and "Discard" will delete that blog.
- Make sure the table you make is responsive.
Describe alternatives you've considered
Feel free to suggest!
Developer Help
None.
Metadata
Metadata
Assignees
Labels
BSoC'24Issues available during BSoC 2024Issues available during BSoC 2024difficulty - mediumenhancementNew feature or requestNew feature or request