Open ilMagnifico opened 3 months ago
For non-system admin users, they need to be an owner, admin or moderator of the space. Then, they'll be notified about reported content from this space.
However, there is an exception:
If we report a space admin post, we create a system admin only report (only visible in admin area)
See https://github.com/humhub/reportcontent/blob/master/models/ReportContent.php#L97
@luke- I think this adds confusion, mainly when testing the module to understand how it works. Shouldn't we remove it?
@Semir1212 What do you think?
I've done lots of tests, including deleting the module and re-installing it. I've reported things as admin, as a regular member and both in spaces of my own and other spaces. Even when I go to the "Reported content" tab which pops up for space owners when the reporting module is activated, there is nothing there on that tab. It just says that things will show up here if someone reports something.
@luke- @marc-farre I think there should be a way for users to report content from space admins. The behaviour is explained in the manual. Maybe we could create one report for the space admin an one for the sys admin? If not, I would leave it as is.
I've done some tests by reporting a post in a space:
So this is the current behavior of the module, and it's working with the Report Content module version 1.1.0.
@Semir1212 so do you agree, for the case n°1 (reporting a post created by a space admin), we should also notify all space admins and moderators (in addition to the global "Administrators" group members)?
This is the kind of explanation that would have been useful in the description of the module. We like what we've seen and are grateful you guys put so much time and effort into developing this.
@marc-farre Yes, as long as the sys admins are also notifed and the space admins can not remove the report by themselves.
Currently testing for this issue;
The only issues that I'm seeing is no notifications are sent to owner/administrators or moderators and both Space & Global reports aren't filtered so whatever is reported in a Space also is sent to Global but I'd also like to note that point 1 also can be considered an issue as well here.
My idea when it comes to the logic that needs done here is as followed;
Again, this is the situation:
I'm a mod of the space A.
People reports 2 different posts of that spaces of two different users with not any kind of permits, so normal users, just for test.
I can see them on the Admin page
But when I try to have a look at them it doesn't work.
This must be sure a bug. I mean otherwise what's the point of being a Mod of a Space if then you can't even see reports from users on that space?
The report module doesn’t work as advertised. Only the system administrator (currently me) receives the reports, not group owners or group moderators.