On my profile I see a moderation button, when I click it I get what looks like a squished empty drop down. Looks the same above my threads too.
On my profile I see a moderation button, when I click it I get what looks like a squished empty drop down. Looks the same above my threads too.
Thank you, I'll give it a look!
Did you get to look at this by any chance?
It should be fixed. Do you see it on user profile, threads list or thread with posts page?
On the thread with posts page. Is there a unminified version of your misago.js we can use?
So its on thread page. We had report about it in past, but sadly reporter didn't follow up with debug data I've requested.
Can you please open your browser's console on the page that you are experiencing the error on, and run this code:
misago._context.THREAD.acl
This will show in your browser your thread ACL, like this:
Post that here and I'll be able to see what is causing that button to appear when user has no moderation actions available.
Here it is
Ok, is this thread hidden?
No, it's not
Ok, I know what is happening here, but I would also like to know how it was caused. Can you tell me if you edit user category permissions anyhow? Did you grant user permission to unhide threads?
We integrated misago in our current project and had to adjust the user model slightly. The way we create User is also not according to misago, so it probably went wrong somewhere along those lines.
As I take it, we should remove the permission to unhide threads? We didn't add this specifically and I don't see how we do this different from create_user in your UserManager. In the admin there's also no option as to remove this permission from a user. Could you tell me how to add or remove this permission?
I've just released Misago 0.17.4 that fixes this.
Many thanks for the quick reply and release :)