Author Topic: Groups can add users to groups above them. (Including Themselves)  (Read 157 times)

0 Members and 1 Guest are viewing this topic.

Offline psewolf

  • Newbie
  • *
  • Posts: 3
  • Karma: -1
    • View Profile
Groups can add users to groups above them. (Including Themselves)
« on: September 10, 2017, 08:44:41 PM »
Hello! I have slight issue with ULX. I setup my permissions, but my ranks that have the permission 'adduser' can still set users to ranks above themselves. Any ideas why?

My ULib/ULX versions (run "ulx version" in console):
ULib v2.63
ULX v3.73

Game mode(s) I am having this problem on:
DarkRP
Lua errors shown in console, if any:
N/A

Debug Info File: https://pastebin.com/3DR07yLG

Offline iViscosity

  • Hero Member
  • *****
  • Posts: 691
  • Karma: 37
    • View Profile
    • iViscosity Gaming
Re: Groups can add users to groups above them. (Including Themselves)
« Reply #1 on: September 10, 2017, 08:52:54 PM »
By default, players with 'ulx adduser' can add themselves to any group they want. You have to make a whitelist of groups they can add themselves (and others) to.
I'm iViscosity. I like gaming and programming. Need some help? Shoot me a PM or Join my Discord!.
--==[ Links ]==--
Steam
YouTube
Steam Group (feel free to join!)
Forums
Public Discord
Teamspeak

Quote from: Steve Jobs
Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do. If you haven't found it yet, keep looking. Don't settle. As with all matters of the heart, you'll know when you find it. And, like any great relationship, it just gets better and better as the years roll on. So keep looking until you find it. Don't settle.

Offline psewolf

  • Newbie
  • *
  • Posts: 3
  • Karma: -1
    • View Profile
Re: Groups can add users to groups above them. (Including Themselves)
« Reply #2 on: September 10, 2017, 08:59:55 PM »
You granted access "ulx adduser" with tag "* <owner,superadmin,co-owner>" to group co-owner
You added Mr. Magoo to group co-owner
You added Mr. Magoo to group superadmin

Still didn't work.

Offline iViscosity

  • Hero Member
  • *****
  • Posts: 691
  • Karma: 37
    • View Profile
    • iViscosity Gaming
Re: Groups can add users to groups above them. (Including Themselves)
« Reply #3 on: September 10, 2017, 09:01:49 PM »
That'd be wrong anyways, you're giving them access to all ("*"). Use the !menu to help you. For the group, go under User Management, find "ulx adduser" and the box on the right that says whitelist groups. Edit those and put in all the groups you'd like.

Also, are you adding someone else to superadmin or yourself.

Sent using Tapatalk. Owner of iViscosity Gaming.
I'm iViscosity. I like gaming and programming. Need some help? Shoot me a PM or Join my Discord!.
--==[ Links ]==--
Steam
YouTube
Steam Group (feel free to join!)
Forums
Public Discord
Teamspeak

Quote from: Steve Jobs
Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do. If you haven't found it yet, keep looking. Don't settle. As with all matters of the heart, you'll know when you find it. And, like any great relationship, it just gets better and better as the years roll on. So keep looking until you find it. Don't settle.