yiiframework.com
yiiframework.com copied to clipboard
"report content" option for wiki
This functionality is available on old website and should be implemented here too.
Is that a simple emailing or should it involve database?
The old website has a Report model, which stores the reports in the db.
OK. So it should:
- Save it to database.
- Notify team members.
report
===
object_type
object_id
content
created_at
created_by
status
updated_at
updated_by
Could be reused for reporting anything.
current spam protection methods are sufficient right now so I move this to "later"