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

0 Members and 1 Guest are viewing this topic.

Offline psewolf

  • Newbie
  • *
  • Posts: 3
  • Karma: -1
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

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
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 PM.

Offline psewolf

  • Newbie
  • *
  • Posts: 3
  • Karma: -1
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

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
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 PM.