Found a small bug in Groups


  • GNU/Linux

    I think it was due to when that Poll plugin screwed up and went crazy on duplicating permissions maybe as it says it has something to do with Poll.

    Note this only displays when drop down is set to member count dropdown.
    0_1503400300785_Screenshot from 2017-08-22 04-08-51.png

    Anyone might know how to remove this? Maybe delete it directly from the mongodb? Ideas?


  • Admin

    Run this in mongodb to remove them, those groups shouldn't be in that set.

    db.objects.remove({_key: "groups:visible:memberCount", value: "cid:25:privileges:groups:poll:create"});
    db.objects.remove({_key: "groups:visible:memberCount", value: "cid:33:privileges:groups:poll:create"});
    

  • GNU/Linux

    @baris said in Found a small bug in Groups:

    Run this in mongodb to remove them, those groups shouldn't be in that set.

    db.objects.remove({_key: "groups:visible:memberCount", value: "cid:25:privileges:groups:poll:create"});
    db.objects.remove({_key: "groups:visible:memberCount", value: "cid:33:privileges:groups:poll:create"});
    

    Awesome, thx for quick response. I've gone and done this and everything is back to normal. I assume it was because of that poll plugin. @Schamper might wanna look at this.


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.