By Matthias Fletzberger on Tuesday, 05 June 2018
Posted in General Issues
Replies 7
Likes 0
Views 556
Votes 0
I have on our platform several groups - and now for the first time a group seemed too disappear - we realized that everybody - even non-members of a group can delete any group? how can I prevent this or set that only owners can delete a group and/or that group deletion needs to be moderated?
Currently this isn't configurable and to be honest, with all these GDPR ruling, I don't think it is advisable to disallow deleting of their own groups.

If you want to hack this, edit the file /administrator/components/com_easysocial/includes/cluster/cluster.php and at line 2102 locate the codes below,


if ($user->isSiteAdmin() || $this->isOwner()) {


Replace it with,


if ($user->isSiteAdmin()) {
·
Tuesday, 05 June 2018 22:44
·
0 Likes
·
0 Votes
·
0 Comments
·
I agree.
We must leave the choice to the user if he wants to delete his group.

However, that means for us administrator, the loss of valuable data.

Ideally, when a user decides to delete their group, the site administrator will be notified. In order for him to appoint another administrator in his place.

Moreover when the user clicks Delete Group, they should be asked why.
As for the popup Report this item.

Thank you
Philippe
·
Sunday, 17 June 2018 23:22
·
0 Likes
·
0 Votes
·
0 Comments
·
And why not allow users to Unpublish their Groups ?
As for administrators.

Philippe
·
Sunday, 17 June 2018 23:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Matthias,
even non-members of a group can delete any group?
Users cannot delete 'any' group unless the user is a site admin. Current behavior states that only group owners can delete their own groups, whereas site admin can delete any group.

Hi Philippe,
Thanks for the input. Feel free to post a feature request for the group deletion 'reasoning'.
And why not allow users to Unpublish their Groups ?
Once normal users unpublished their groups, they will not be able to delete them at will for GDPR purpose since unpublished groups do not appear in the frontend. Therefore, it is best for the unpublished action to be reserved for site admin.
·
Monday, 18 June 2018 11:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok. I see.
Thank you Raymond
·
Monday, 18 June 2018 17:19
·
0 Likes
·
0 Votes
·
0 Comments
·
You're most welcome Philippe.
·
Monday, 18 June 2018 18:37
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post