ULX

Author Topic: Accidentally revoked the privileges setting for super admins.  (Read 2250 times)

0 Members and 1 Guest are viewing this topic.

Offline Dewritos

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Accidentally revoked the privileges setting for super admins.
« on: October 22, 2016, 04:59:35 PM »
Title says it all, I was wondering if there is any fix?

Offline iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
Re: Accidentally revoked the privileges setting for super admins.
« Reply #1 on: October 22, 2016, 05:08:12 PM »
If you have access to the server console, you could manually add them back in with ulx groupallow. If not, you could edit the "superadmin" section in your data/ulib/groups.txt to the default.
Code: [Select]
"superadmin"
{
   "allow"
   {
   }
   "inherit_from"   "admin"
}
but, anything specifically added to them otherwise will need to be re-added ingame.


It's easier to use groupallow, though.
« Last Edit: October 23, 2016, 04:31:35 PM by iViscosity »
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Accidentally revoked the privileges setting for super admins.
« Reply #2 on: October 23, 2016, 03:11:19 PM »
^ That (the above) is a bad way of doing it. That's how you end up breaking crap, if you don't know what you're doing. Assuming this is a new user, the best and easiest option is to go to console and type:
Code: [Select]
ulx groupallow superadmin "ulx groupallow"
so basically, the code for adding permissions to any group is:
Code: [Select]
ulx groupallow <GROUP> "<PERMISSION>"
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
Re: Accidentally revoked the privileges setting for super admins.
« Reply #3 on: October 23, 2016, 04:29:53 PM »
^ That (the above) is a bad way of doing it.

If you have access to the server console, you could manually add them back in with ulx groupallow. If not,
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Accidentally revoked the privileges setting for super admins.
« Reply #4 on: October 23, 2016, 11:02:25 PM »
I don't read, sorry. Though, if he still is Superadmin, it doesn't mean he removed rcon access. So technically he could do
Code: [Select]
ulx rcon ulx groupallow superadmin "ulx groupallow"
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.