ULX

Author Topic: Can't disable PMs for "user" usergroup?  (Read 2398 times)

0 Members and 1 Guest are viewing this topic.

Offline RalphORama

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Can't disable PMs for "user" usergroup?
« 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?

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Can't disable PMs for "user" usergroup?
« Reply #1 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"
bw81@ulysses-forums ~ % whoami
Homepage

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Can't disable PMs for "user" usergroup?
« Reply #2 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.

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Can't disable PMs for "user" usergroup?
« Reply #3 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.
bw81@ulysses-forums ~ % whoami
Homepage

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Can't disable PMs for "user" usergroup?
« Reply #4 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.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Can't disable PMs for "user" usergroup?
« Reply #5 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.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline RalphORama

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: Can't disable PMs for "user" usergroup?
« Reply #6 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!