You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
MSilva95 4a679d3b12 more projects reviews 3 years ago
..
README.md more projects reviews 3 years ago
audit.md more projects reviews 3 years ago

README.md

forum-moderation

Objectives

You must follow the same principles as the first subject.

The forum moderation will be based on a moderation system. It must present a moderator that, depending on the access level of a user or the forum set-up, approves posted messages before they become publicly visible.

  • The filtering can be done depending on the categories of the post being sorted by irrelevant, obscene, illegal or insulting.

For this optional you should take into account all types of users that can exist in a forum and their levels.

You should implement at least 4 types of users :

Guests

  • These are unregistered-users that can neither post, comment, like or dislike a post. They only have the permission to see those posts, comments, likes or dislikes.

Users

  • These are the users that will be able to create, comment, like or dislike posts.

Moderators

  • Moderators, as explained above, are users that have a granted access to special functions :
    • They should be able to monitor the content in the forum by deleting or reporting post to the admin
  • To create a moderator the user should request an admin for that role

Administrators

  • Users that manage the technical details required for running the forum. This user must be able to :
    • Promote or demote a normal user to, or from a moderator user.
    • Receive reports from moderators. If the admin receives a report from a moderator, he can respond to that report
    • Delete posts and comments
    • Manage the categories, by being able to create and delete them.

Instructions

  • You must handle website errors, HTTPS status.
  • You must handle all sort of technical errors.
  • The code must respect the good practices.
  • It is recommended that the code should present a test file.

Allowed packages

  • All standard go packages are allowed.
  • github.com/mattn/go-sqlite3
  • golang.org/x/crypto/bcrypt
  • github.com/satori/go.uuid

This project will help you learn about:

  • Moderation System
  • User access levels