Permissions using multiple usergroups

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • encryption
    Senior Member
    • May 2005
    • 516

    Permissions using multiple usergroups

    I am experiencing a very odd permission problem on my website using the License for 3.5.1 and I have no clue how to solve it so maybe somebody in here can show me the light. I am using several custom usergroups on my website and one of them is called Downloads. Once users have more than a certain amount of postings, they are promoted to this usergroup. Once they are in the usergroup, they get access to a section on our board others don't have access to. It´s not a Forum they get access to but a section they can enter through the top menu.

    So far this system worked like a charm until I installed a new custom usergroup I planned to use for sending an Email to a specific group of people (not equal to the Download group who has the rights to see a certain part of the website but a group without any permission). As soon as I manually add a user to the new Usergroup AND he is already a member of the password group, the member can't access the section of the board anymore that he could normally access by just beeing a member of the Downloads group. As soon as members are ONLY a part of the Downloads group, they get access. At this stage, I can't see how the membership of a secondary additional usergroup can affect the other group they have been added to before and I would appreciate it if somebody can help me out.
    www.MJWebhosting.com - (Vbulletin Forum Hosting)
    www.MercuryServer.com - (Our vBulletin forum Managed & hosted by MJWebhosting)
  • Colin F
    Senior Member
    • May 2004
    • 17689

    #2
    Some general details:
    If a user is a member of multiple usergroups, all the YES permissions will override the NO permissions. If one of those usergroups is a banned usergroup though, the NO permissions will override the YES permissions.

    I can't really tell what's wrong with your setup by your text, but if you like you can start a support ticket in the members area and I'll take a look at it.
    Best Regards
    Colin Frei

    Please don't contact me per PM.

    Comment

    • encryption
      Senior Member
      • May 2005
      • 516

      #3
      Thanks, Colin. I will look again into the YES/NO permissions and start a request as advised if I can't find a solution.
      www.MJWebhosting.com - (Vbulletin Forum Hosting)
      www.MercuryServer.com - (Our vBulletin forum Managed & hosted by MJWebhosting)

      Comment

      • encryption
        Senior Member
        • May 2005
        • 516

        #4
        Colin that didn't seem to work. Before I start a ticket, let me go ahead and rephrase the above.

        We have a "downloads" section on our website and we have certain code embedded into the "downloads" page to check if a user is a members of the "passwords" group before he can get access to this page.

        we use vBulletin "promotions" to allow users with an X number of posts to automatically become members of the "passwords" group and they are able to access the downloads page. However, we have now created a third group for certain users (so that we can email them from the admin panel) but after manually adding them to the third group, strangely, it breaks the code for group authentication on the downloads page and even if a member is a member of the "passwords" group, he loses access to the downloads page.

        I have no idea why that happens. Any clues ?
        www.MJWebhosting.com - (Vbulletin Forum Hosting)
        www.MercuryServer.com - (Our vBulletin forum Managed & hosted by MJWebhosting)

        Comment

        • Colin F
          Senior Member
          • May 2004
          • 17689

          #5
          Is the downloads section custom coded?
          Possibly this only checks the main usergroup and doesn't check any secondary usergroups?
          Best Regards
          Colin Frei

          Please don't contact me per PM.

          Comment

          • encryption
            Senior Member
            • May 2005
            • 516

            #6
            yes the downloads page is custom coded and its only checking to see if a user is a part of the "downloads" (passwords) group, nothing else
            www.MJWebhosting.com - (Vbulletin Forum Hosting)
            www.MercuryServer.com - (Our vBulletin forum Managed & hosted by MJWebhosting)

            Comment

            • feldon23
              Senior Member
              • Nov 2001
              • 11291
              • 3.7.x

              #7
              In which case you will have to contact the author of that Downloads plug-in and ask them to respect the access privileges of Secondary Usergroups.

              Comment

              • tommykjensen
                Senior Member
                • Nov 2005
                • 180
                • 4.0.0

                #8
                Originally posted by Colin F
                Some general details:
                If a user is a member of multiple usergroups, all the YES permissions will override the NO permissions. If one of those usergroups is a banned usergroup though, the NO permissions will override the YES permissions.
                I have tried this and I can't get it to work.

                One user belong to registered users as the primary group with regular permissions.

                I have created another usergroup with limited permissons and I have set the option "banned usergroup" to yes.

                I added this usergroup to the user and expected that NO permissions would override the YES permissions as You say above but the user still have the same permissions as the primary group give.
                Best Regards Tommy

                Comment

                • forumfolk
                  Senior Member
                  • Jul 2005
                  • 231
                  • 3.5.x

                  #9
                  Originally posted by tommykjensen
                  I have tried this and I can't get it to work.

                  One user belong to registered users as the primary group with regular permissions.

                  I have created another usergroup with limited permissons and I have set the option "banned usergroup" to yes.

                  I added this usergroup to the user and expected that NO permissions would override the YES permissions as You say above but the user still have the same permissions as the primary group give.
                  Was a solution ever found?

                  Comment

                  widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                  Working...
                  😀
                  😂
                  🥰
                  😘
                  🤢
                  😎
                  😞
                  😡
                  👍
                  👎