Skip to content

Report abuses #12

Description

@mcharcos

We need a way to allow individuals to report what they think is an abuse for orphanages and organizations. The users should be able to click in a link in the DB record (orphanages or organizations) if they think there is a problem with this record. For example, if a registered orphanage is a fake orphanage and someone locally knows that there is not such orphanage, that person should be able to click a link in the details of this orphanage or in the general list of orphanages and a page would show allowing to select what type of report he/she is submitting in plain text. There should be:

  • A list of possible type of abuse report as a check box list
    (1) Does not exist
    (2) Do not treat the children right
    (3) Do not perform activities they announce
    (4) Others
  • A text area to allow an explanation in their own words.
    After the user inputs the information an object AbuseInfo (to be also created) is send through the services to the back end. The class serving this functionality should be NgoService and OrphangeService respectively. We can add a method to create a NgoAbuse or OrphanageAbuse instance associated to the specific Ngo or Orphanage object (for example reportAbuse(abuseInfo)).

In the back end, there should be two classes NgoAbuse and OrphanageAbuse that contain the uniqueId of the ngo or orphanage, the unique id of the user creating the abuse, the date of creation of the abuse and the details of the abuse that were introduced in the abuse page. These two classes would be similar to the Association class UserNgo/UserOrphanage. In fact, they can live in the same package/directory.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions