Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: [TS] mindfulhacker on January 25, 2015, 07:06:29 AM
-
I have multiple variations of my staff groups, eg Admin and Admin+.
However, those in Admin+ cannot use admin tools, such as FPP.
Is there any way to set my Admin+ group as 'admin', allowing the IsAdmin() to work?
-
You'll probably want to look into your inheritance tree. From the sounds of things, you have that set up wrong.
-
I don't believe I have done it wrong - It is exactly how I would like.
I have 2 'trees' of inheritance.
The Donator Tree:
- superadmin - Inherits from HeadAdmin
- HeadAdmin - Inherits from Admn+
- Admin+ - Inherits from Moderator+
- Moderator+ - Inherits from TrialMod+
- TrialMod+ - Inherits from DiamondVIP
- DiamondVIP - Inherits from PlatinumVIP
- PlatinumVIP - Inherits from GoldVIP
- GoldVIP - Inherits from SilverVIP
- SilverVIP - Inherits from BronzeVIP
- BronzeVIP - Inherits from user
And the Regular Tree:
- Admin - Inherits from TrialMod
- Moderator - Inherits from TrialMod
- TrialMod - Inherits from user
- user
This is so non-donor staff do not use the donator jobs, etc.
-
Going loosely off this FAQ thread (http://forums.ulyssesmod.net/index.php/topic,5346.0.html), forked inheritance trees usually cause problems with can_target. Seeing as none of the groups you've made inherit from admin or a group which inherits from admin... you aren't gonna get very far.
-
for IsAdmin to work you need to inherit from Admin.
None of your groups inherits Admin so that's why it's not working.
-
"Admin" is also not the same as "admin".
Lua is case sensitive.
-
This is true. Another reason why in general you should just keep all of your group names lowercase.