Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: Madoxx on July 28, 2018, 09:18:35 AM

Title: Core Admin groups
Post by: Madoxx 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?
Title: Re: Core Admin groups
Post by: MrPresident 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.
Title: Re: Core Admin groups
Post by: JamminR 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
Title: Re: Core Admin groups
Post by: Madoxx 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?