CoreBOSBB
Can't allow regular user to delete comments - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17)
+--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8)
+--- Thread: Can't allow regular user to delete comments (/showthread.php?tid=2286)



Can't allow regular user to delete comments - Guido1982 - 03-14-2022

I want a certain role, that is only contracted of non-admin profiles, to be able to delete comments. I added the 'delete' permission on comments to one of the profiles in the role, but I can't delete - there is no button. There is a button in the listview, but that doesn't work. How do I allow this role to delete comments?


RE: Can't allow regular user to delete comments - xh.shazivari - 03-15-2022

(03-14-2022, 03:41 PM)Guido1982 Wrote: I want a certain role, that is only contracted of non-admin profiles, to be able to delete comments. I added the 'delete' permission on comments to one of the profiles in the role, but I can't delete - there is no button. There is a button in the listview, but that doesn't work. How do I allow this role to delete comments?

Hello, 

Go to Settings > Sharing Access > Change Privileges 
After you find the Comments module, change the privileges from Public: Read Only to Public: Read, Create/Edit, Delete
Save permissions and press Recalculate.
Now, a non-admin user will be able to see the action and delete a record from the list view in Comments module as long as its profile has the permission.

Also, we haven't implemented the delete functionality in the detail view widget.

Let us know Smile


RE: Can't allow regular user to delete comments - Guido1982 - 03-15-2022

Did the trick, thanks very much