Unfortunately, my attempt to ULX forums was not so good, so I was checking if anyone had any ideas here.
I currently have a rank in ULX I wish to be considered admin in add-ons, gmod spawning, etc, but not actually inheriting off it so it’s permissions are not the same.
So far the only thing that I thought would be to any prevail would be:
local origIsAdmin = meta.IsAdmin function meta:IsAdmin() if ucl.groups[ ULib.ACCESS_ADMIN ] then return self:CheckGroup( ULib.ACCESS_ADMIN ) else -- Group doesn't exist, fall back on garry's method origIsAdmin( self ) end end
Supposing there is a rank called “humble” we wanted to have the administrative access for.
Probably shouldn’t be editing it + there may be another way, but I I did edit it in replacement (with editing defines.lua) to work with the “humble” rank, but then the admin rank itself loses access.