Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: RalphORama on March 30, 2014, 05:16:54 PM

Title: Can't disable PMs for "user" usergroup?
Post by: RalphORama on March 30, 2014, 05:16:54 PM
I've got a simple problem: I have ULX on a TTT server, and people who are in the "user" group can PM each other, which makes ghosting super easy. I've tried using the command "ulx groupdeny user psay" but that doesn't work, it tells me "Group "user" doesn't have access to "psay"".

Despite this, users can still PM each other using !p or through !menu. I've searched the forums, but can't find any solutions for this. How can I fix this?
Title: Re: Can't disable PMs for "user" usergroup?
Post by: Bytewave on March 30, 2014, 05:24:41 PM
I've got a simple problem: I have ULX on a TTT server, and people who are in the "user" group can PM each other, which makes ghosting super easy. I've tried using the command "ulx groupdeny user psay" but that doesn't work, it tells me "Group "user" doesn't have access to "psay"".

Despite this, users can still PM each other using !p or through !menu. I've searched the forums, but can't find any solutions for this. How can I fix this?

The command would be "ulx psay", not "psay".

So, try using:
Code: [Select]
ulx groupdeny user "ulx psay"
Title: Re: Can't disable PMs for "user" usergroup?
Post by: MrPresident on March 30, 2014, 05:37:43 PM
Just make sure you give it to all your other groups if you do that, since Im fairly sure they inherit that permission from user.
Title: Re: Can't disable PMs for "user" usergroup?
Post by: Bytewave on March 30, 2014, 05:44:25 PM
Just make sure you give it to all your other groups if you do that, since Im fairly sure they inherit that permission from user.
Doesn't groupdeny not use the inheritance tree? Or is that just me and weird thoughts?
I seem to remember Sticky saying something about using ulx groupallow to make it so other groups don't inherit the permission... though this could be me.
Title: Re: Can't disable PMs for "user" usergroup?
Post by: MrPresident on March 30, 2014, 06:01:08 PM
yeah, but Im not sure how it works when you have a permission in the group's allow and deny table.
Title: Re: Can't disable PMs for "user" usergroup?
Post by: Stickly Man! on March 31, 2014, 10:29:45 AM
Groups do not currently have an explicit deny table. Therefore, "ulx groupallow" adds a premission to a group, and "ulx groupdeny" removes a permission from the group, if the group has access to it.

But yes, the permission can be stacked such that "user" could have access to 'ulx slap ^' (only permission to target themselves), where admin has access to 'ulx slap *' (permission to target anyone). Viewing the group's permissions in XGUI makes this kind of inheritance of commands easier to work with.
Title: Re: Can't disable PMs for "user" usergroup?
Post by: RalphORama on March 31, 2014, 12:57:41 PM
So, try using:
Code: [Select]
ulx groupdeny user "ulx psay"

One of those dumb mistakes on my part, worked like a charm.
Thanks!