Author Topic: ULX Groups Permissions Questiom  (Read 2677 times)

0 Members and 1 Guest are viewing this topic.

Offline MattGaming09

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
ULX Groups Permissions Questiom
« on: May 15, 2017, 04:17:31 PM »


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

Game mode(s) I am having this problem on: DarkRP

Hey , i just have a question and if someone could answer it would be nice ; how to prevent Ex : Head-Admin to add them self (ulx adduser) to group Owner or superadmin ? Because I tried many times
recreating permissions for my group and everytime a group have access to Ulx Adduser he can add him self to a higher group . So how can i prevent that ?

Offline BlueNova

  • Full Member
  • ***
  • Posts: 113
  • Karma: 13
  • The most powerful force in the universe.
Re: ULX Groups Permissions Questiom
« Reply #1 on: May 15, 2017, 06:03:35 PM »
"ulx groupdeny" "headadmin" "ulx adduser"

Use that to block the command entirely.

I can't remember exactly but I believe in the menu itself there's restrictions on what groups can add people to what groups.

Offline iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
Re: ULX Groups Permissions Questiom
« Reply #2 on: May 15, 2017, 07:09:46 PM »
If you FAdmin as well, that may cause some conflicts, but you can always go into the !menu and under the 'groups' tab, find 'head-admin'. Under 'user management' tab (on the left) there will be a 'ulx adduser' on the right. Click on it (not the checkbox, the actual text saying 'ulx adduser') and on the right it says 'restrict groups' (or something). In there you can set the whitelist (the groups that are allowed), you can type in the groups (case-sensitive) that the groups is allowed to add users to. Just make sure not to type 'superadmin' and 'Owner' in there.
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX Groups Permissions Questiom
« Reply #3 on: May 15, 2017, 07:26:40 PM »
Don't give any group superadmin access, don't give any group superadmin inheritance.
Superadmin is intended to be the highest group in Gmod.
Those with superadmin group have access to more than just ULX commands.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming