• GitHub
  • Documentation
  • Discord
  • Tip
search
  • chevron_right Threads
  • label Feedback
  • label Bugs Bug reports

Odd moderation button on profile

Robin
Feb. 3, 2018
chat_bubble_outline 12
  • link
    Robin
    Members 2 posts
    Feb. 3, 2018, 4:09 p.m. Feb. 3, 2018, 4:09 p.m.
    link

    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

  • link
    rafalp
    Project Lead 2027 posts
    Feb. 3, 2018, 8:22 p.m. Feb. 3, 2018, 8:22 p.m.
    link

    Thank you, I'll give it a look!

  • link
    nick1234
    Members 7 posts
    April 23, 2018, 5:49 p.m. April 23, 2018, 5:49 p.m.
    link

    Did you get to look at this by any chance?

  • link
    rafalp
    Project Lead 2027 posts
    April 23, 2018, 7:22 p.m. April 23, 2018, 7:22 p.m.
    link

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

  • link
    nick1234
    Members 7 posts
    April 24, 2018, 10:10 a.m. April 24, 2018, 10:10 a.m.
    link

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

  • link
    rafalp
    Project Lead 2027 posts
    April 24, 2018, 10:20 a.m. April 24, 2018, 10:20 a.m.
    link

    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.

  • link
    nick1234
    Members 7 posts
    April 24, 2018, 10:27 a.m. April 24, 2018, 10:27 a.m.
    link

    Here it is

    misago_moderation_bug.png

    PNG, 18.3 KB, uploaded by nick1234 on April 24, 2018.

  • link
    rafalp
    Project Lead 2027 posts
    April 24, 2018, 10:28 a.m. April 24, 2018, 10:28 a.m.
    link

    Ok, is this thread hidden?

  • link
    nick1234
    Members 7 posts
    April 24, 2018, 10:35 a.m. April 24, 2018, 10:35 a.m.
    link

    No, it's not

  • link
    rafalp
    Project Lead 2027 posts
    April 24, 2018, 11:13 a.m. April 24, 2018, 11:13 a.m.
    link

    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?

  • link
    nick1234
    Members 7 posts
    April 24, 2018, 11:30 a.m. April 24, 2018, 11:30 a.m.
    link

    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?

  • link
    rafalp
    Project Lead 2027 posts
    April 24, 2018, 7:25 p.m. April 24, 2018, 7:25 p.m.
    link

    I've just released Misago 0.17.4 that fixes this.

  • link
    nick1234
    Members 7 posts
    April 26, 2018, 10:30 a.m. April 26, 2018, 10:30 a.m.
    link

    Many thanks for the quick reply and release :)

arrow_upward Go to top
  • This site uses cookies to gather statistical data for use in traffic analysis.
  • GitHub
  • Documentation
  • Discord
  • Tip
  • Terms of service
  • Privacy policy
powered by misago