• Robinpanorama_fish_eye
    2 posts
    7 years ago

    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.

    i.imgur.com/g4KzywU.png

  • rafalppanorama_fish_eye
    7 years ago

    Thank you, I'll give it a look!

  • nick1234panorama_fish_eye
    7 posts
    7 years ago

    Did you get to look at this by any chance?

  • rafalppanorama_fish_eye
    7 years ago

    It should be fixed. Do you see it on user profile, threads list or thread with posts page?

  • nick1234panorama_fish_eye
    7 posts
    7 years ago

    On the thread with posts page. Is there a unminified version of your misago.js we can use?

  • rafalppanorama_fish_eye
    7 years ago

    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:

    user-images.githubusercontent.com/750553/38168446-37d4f5ec-354c-11e8-97c7-e86b3b528da3.png

    Post that here and I'll be able to see what is causing that button to appear when user has no moderation actions available.

  • nick1234panorama_fish_eye
    7 posts
    7 years ago

    Here it is

    misago_moderation_bug.png

    PNG, 18.3 KB, uploaded by nick1234 7 years ago.

  • rafalppanorama_fish_eye
    7 years ago

    Ok, is this thread hidden?

  • nick1234panorama_fish_eye
    7 posts
    7 years ago

    No, it's not

  • rafalppanorama_fish_eye
    7 years ago

    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?

  • nick1234panorama_fish_eye
    7 posts
    7 years ago

    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?

  • rafalppanorama_fish_eye
    7 years ago

    I've just released Misago 0.17.4 that fixes this.

  • nick1234panorama_fish_eye
    7 posts
    7 years ago

    Many thanks for the quick reply and release :)

Search
  • Enter search query (at least 3 characters).

Your options