Author Topic: Core Admin groups  (Read 526 times)

0 Members and 1 Guest are viewing this topic.

Offline Madoxx

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Core Admin groups
« on: July 28, 2018, 09:18:35 AM »
This sub-forum is only for help or discussion regarding projects created by Team Ulysses. If you are requesting help, please search the forums FIRST to make sure your question has not already been answered. If you still need help, fill in the following information.

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

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

So I am trying to create User Groups for my server but I was told never to edit "core groups" such as Superadmin or Admin. So when making my own groups do I have to create a separate Admin group or can I edit the existing one?

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2696
  • Karma: 422
    • |G4P| Gman4President
Re: Core Admin groups
« Reply #1 on: July 29, 2018, 06:11:48 AM »
Best practice is to create new groups. You could create a new admin group and have it inherit from the original group, that way when you modify it you're not changing a base group.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8016
  • Karma: 380
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Core Admin groups
« Reply #2 on: July 29, 2018, 08:10:10 AM »
You could create a new admin group
- if it wasn't clear, not using the exact same name as the core admin
The price one pays for pursuing any profession or calling is an intimate knowledge of its ugly side. - James Baldwin

Offline Madoxx

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Core Admin groups
« Reply #3 on: July 29, 2018, 09:15:32 AM »
Alright, thanks for the tips! they have cleared a few things up.

I have made my groups on my server and I want the ranks to go in a hierarchy system. So admin_ can target other Admins and any other ranks below but not above.

This is my system:

Name: trainee_admin
Inherits: User (core group)
Can Target: !%admin_

Name: admin_
Inherits: trainee_admin
Can Target: !%senioradmin

Name: senior_admin
Inherits: admin_
Can Target: !%elite_admin

Name: elite_admin
Inherits: senior_admin
Can Target: !%head_admin

Name: head_admin
Inherits: elite_admin
Can Target: !%manager

Name: manager
Inherits: head_admin
Can Target: !%superadmin (core group)

Name: director
Inherits: superadmin (core group)
Can Target: *

Name: owner
Inherits: superadmin (core group)
Can Target: *

(I want Director and Owner to have the same permissions.)

So my question is have I done this right?
« Last Edit: July 29, 2018, 09:17:44 AM by Madoxx »