39 votes

Deployed a complete rework of the permissions system - please let me know if you notice anything strange

Tags: changelog

I just deployed a major update to the site's permissions system, which involved rewriting a lot of the related code. This is pretty much all internal details, and there should be no noticeable changes, but it's definitely possible that I missed something. So if you notice anything unusual that seems like it might be permissions-related (such as a button missing or a functionality not working), please let me know.

None of it's really being used yet, but the rewritten system allows for multiple new capabilities that we'll need as the site grows, like granting permissions to users only inside specific groups (instead of site-wide) and denying permissions in specific groups (like "able to tag topics in all groups except ~music").

On that note, most permissions are still granted manually, and I haven't given them to many people lately. If you're interested in helping with some of the site's organizational work and think you have a good understanding of how things are currently organized, please send me a message and ask, and I can give you some permissions to help out.

These are the permissions that are currently available (and there are at least a few users that have access to each of these):

  • Changing tags on topics
  • Moving topics to different groups
  • Editing the titles of topics
  • Editing the links of link topics
  • Editing wiki pages (or creating new ones)

Thanks!

And as usual, I've topped everyone back up to 10 invites, accessible on the invite page.

17 comments

  1. [15]
    kfwyre
    Link
    Don't know if it's specific to just me or if it's affecting others too, but I've lost the ability to label comments.

    Don't know if it's specific to just me or if it's affecting others too, but I've lost the ability to label comments.

    12 votes
    1. [3]
      Deimos
      Link Parent
      Whoops, thanks, that was definitely affecting everyone. Should be fixed now. @Whom @Algernon_Asimov @Turtle

      Whoops, thanks, that was definitely affecting everyone. Should be fixed now.

      @Whom @Algernon_Asimov @Turtle

      10 votes
      1. BuckeyeSundae
        Link Parent
        You're all so fast. Here I was just dropping by to say "I know this feeling; refactoring code is about half of what I do."

        You're all so fast. Here I was just dropping by to say "I know this feeling; refactoring code is about half of what I do."

        5 votes
    2. [10]
      Whom
      Link Parent
      Me too.

      Me too.

      5 votes
      1. [9]
        Algernon_Asimov
        Link Parent
        Me three.

        Me three.

        5 votes
        1. [8]
          Loire
          Link Parent
          Fourthed.

          Fourthed.

          4 votes
          1. [7]
            cfabbro
            Link Parent
            Is it still not working for you? I ask because you posted this comment after @Deimos supposedly fixed it.

            Is it still not working for you? I ask because you posted this comment after @Deimos supposedly fixed it.

            1 vote
            1. [6]
              Loire
              Link Parent
              I actually can't tell. I blew the most obvious Exemplary title hours ago. Having just hit you with every other label, I don't see any obvious indication it worked.

              I actually can't tell. I blew the most obvious Exemplary title hours ago. Having just hit you with every other label, I don't see any obvious indication it worked.

              1 vote
              1. Deimos
                Link Parent
                They worked. The "Label" button wasn't even there when it wasn't working.

                They worked. The "Label" button wasn't even there when it wasn't working.

                6 votes
              2. [4]
                cfabbro
                (edited )
                Link Parent
                The indication that they worked is that the border lights up on them. Clicking again should remove the border and the applied label. When you click the label button again are none of the borders...

                The indication that they worked is that the border lights up on them. Clicking again should remove the border and the applied label. When you click the label button again are none of the borders lit up?

                p.s. The reason you don't see any other noticeable effect is because it generally takes more than one person to apply the offtopic/joke/noise labels before they do anything, since IIRC everyone currently has 0.5 1.0 label weight and they only trigger when the applied weight gets to > 1.0

                4 votes
                1. [3]
                  Loire
                  Link Parent
                  Good to know! Is the 0.5 label weight a new-ish addition?

                  Good to know! Is the 0.5 label weight a new-ish addition?

                  3 votes
                  1. [2]
                    cfabbro
                    (edited )
                    Link Parent
                    Turns out I was only partially right. tildes.default_user_comment_label_weight = 1.0, but the labels (other than Exemplary and Malice) don't trigger until the weight > 1.0 ... so it still takes 2...

                    Turns out I was only partially right. tildes.default_user_comment_label_weight = 1.0, but the labels (other than Exemplary and Malice) don't trigger until the weight > 1.0 ... so it still takes 2 people labeling before they do. And AFAIK it taking 2 people is not new and has been around for quite a long time.

                    4 votes
                    1. Keegan
                      Link Parent
                      Huh I figured it took more than just one person to trigger. Cool to actually have it quantifiable.

                      Huh I figured it took more than just one person to trigger. Cool to actually have it quantifiable.

                      3 votes
  2. MetArtScroll
    Link
    Thanks a lot, this is fantastic! Hereby I apply for permissions for me and @hulp restricted to ~test only.

    Thanks a lot, this is fantastic! Hereby I apply for permissions for me and @hulp restricted to ~test only.

    4 votes
  3. asoftbird
    Link
    Adding and removing tags to posts seems to work at least.

    Adding and removing tags to posts seems to work at least.

    4 votes