Author Topic: Restrict group  (Read 2847 times)

0 Members and 3 Guests are viewing this topic.

Offline DLTBammer

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Restrict group
« on: August 17, 2017, 01:23:24 AM »
Hello people !

I have an important question. I want to restrict "ulx adduser" and "ulx adduserid" to certains ranks. I know how do it.
When i want to restrict group for "ulx adduser" and "ulx adduserid" for admin, I go to <groups> --> <admin> --> <manage permissions>  --> <Cmds-Usermanagement>, After it I click on ulx adduser --> Restrict groups --> And I add groups that i want that he cans set people .... and .. I push <apply restrictions > Here all is okay, I see that the restriction is applied in chat . It works for 2 groups, 3 groups  ....

But, I have a military, with more groups (more 51 ulx groups). And there is a problem after i added  all groups in <whitelist string values> .
 I push <apply restrictions>, and nothing is happening.
I think that we can't add  an unlimited  list of groups.

Sorry, if i made some mistakes. I'm French !
Thank you, for your help.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Restrict group
« Reply #1 on: August 17, 2017, 03:08:07 AM »
Can you take a screenshot of your setup before hitting apply?
Experiencing God's grace one day at a time.

Offline DLTBammer

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Restrict group
« Reply #2 on: August 17, 2017, 06:36:35 PM »
 Here, you can see that it works for 2 whitelist groups : 
http://prntscr.com/g9trdx



When i add more groups, <apply restrictions> doesn't work.
http://prntscr.com/g9vkk3

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Restrict group
« Reply #3 on: August 18, 2017, 04:40:53 AM »
I've added it to our issue tracker. I won't have a chance to look into it more in the immediate future, so in the meantime, you could workaround the issue by editing the groups.txt by hand. Just make sure you follow the format in there exactly.
Experiencing God's grace one day at a time.

Offline DLTBammer

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Restrict group
« Reply #4 on: August 19, 2017, 06:36:06 PM »
Where can I put whitelist ranks that I want to restrict for admin ( ulx adduser) in group.txt ?

Offline DLTBammer

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Restrict group
« Reply #5 on: August 26, 2017, 04:48:48 AM »
Please ?

Offline Timmy

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 252
  • Karma: 168
  • Code monkey
Re: Restrict group
« Reply #6 on: August 26, 2017, 06:06:45 AM »
- Turn your server off before you edit these files.

Put the whitelisted groups after the access string, in the access tag.

E.g.: Access tag "* <group1,group2>": Can add all players (respecting can_target) to group1 and group2.

« Last Edit: May 31, 2018, 02:14:36 AM by Timmy »