Closed wehowski closed 1 day ago
This is probably due to the switch of permissions from ManageContent
to ManageUsers
, this is needed due to issues that were reported with the ManageContent
permissions, so now to be able to manage actions in the Discussions module you must have permissions to manage users.
If it's needed in your community it's recommended to switch use humhub\modules\admin\permissions\ManageUsers;
with use humhub\modules\content\permissions\ManageContent;
and public $deleteAccess = [ManageUsers::class];
with public $deleteAccess = [ManageContent::class];
I changed $deleteAccess to humhub\modules\content\permissions\ManageContent now. The problem still exists. Although I can delete answers to postings I cannot delete the opening posting/the thread.
I changed $deleteAccess to humhub\modules\content\permissions\ManageContent now. The problem still exists. Although I can delete answers to postings I cannot delete the opening posting/the thread.
I'm still not able to reproduce the issue on my end with either permission set. I'd need more information, if possible could you provide a testing account?
Hello, I created a testuser and send the password to your email: kodo@greenmeteor.net
Hello, I created a testuser and send the password to your email: kodo@greenmeteor.net
Once I'm able to I'll jump on and take a look.
I'm not seeing any issues on my end
The reason why we made the switch is because there are no group permissions for ManageContent class as shown in the attached screenshot below;
If @luke- were to make this possible then I'd be more inclined to reintroduce the use of the ManageContent permission.
In the future GreenMeteor/discussions/pull/17 (i.e. ManageDiscussions
) will replace both ManageUsers
& ManageContent
permissions.
Ok, thank you for testing, please excuse my late response.
Did you test to CLICK the delete button on the Test Post? If so, please ignore my answer. I still cannot delete the initial opening posting of a disscussion board thread.
However, as it is still BETA, I can wait for next version.
Ok, thank you for testing, please excuse my late response.
Did you test to CLICK the delete button on the Test Post? If so, please ignore my answer. I still cannot delete the initial opening posting of a disscussion board thread.
However, as it is still BETA, I can wait for next version.
I'll have to look into the delete issue.
Beta 7 has been pushed with the new permissions and we also completely replaced the broken delete function, currently by default administrators are allowed to edit and delete discussions, to allow other user groups to also do the same thing you must change the Manage Discussions permission within the user group's permissions area.
I just installed beta.7 and no CAN delete the postings without any error.
Thank you!!!
[can be closed]
Hi, I installed the last two updates. Now I have the following issue:
Sorry, I cannot reproduce any error messages so far in the protocolls, error_log is empty, after clicking the delete-icon, the page reloads but the posting still exists.
'Humhub version' => '1.16.1', The PHP is 8.3.8 MariaDB is 10.3.39