Community Forums Today's Posts     Member List     Archive    
Results 1 to 15 of 15
  1. #1
    Join Date
    Dec 2009
    Location
    UK
    Posts
    69

    admins can activate modify_maxclients

    im a little stuck here, the default serveramdin group has b_virtualserver_modify_maxclients removed with no grant permission but they can click on it and activate it.

    i thought without grant permission this was not possible ?

    how do i get around it ?

  2. #2
    Join Date
    Dec 2009
    Location
    UK
    Posts
    69
    i found the permissions b_permission_modify_power_ignore was enabled!

    is there any way i can make sure this is removed from all groups except group 2 ?

  3. #3
    Join Date
    Feb 2006
    Location
    Texas, USA
    Posts
    4,187
    right click->remove it from any group you don't want to have it. How did it get enabled in the first place?

  4. #4
    Join Date
    Dec 2009
    Location
    UK
    Posts
    69
    no idea, i must have done it at some stage

    i got sent this but theres an error it wont run.

    DELETE FROM perm_server_group WHERE perm = "b_permission_modify_power_ignore" AND id1 != 2;
    Query Error: no such column: perm Unable to execute statement

    DELETE FROM perm_server_group WHERE perm = "b_permission_modify_power_ignore" AND id1 != 2;

  5. #5
    Join Date
    Feb 2006
    Location
    Texas, USA
    Posts
    4,187
    You don't want to delete it, just remove it from the groups that should not have it. in my opinion the only group that should have this is your admin server query group.

  6. #6
    Join Date
    Dec 2009
    Location
    UK
    Posts
    69
    that commands a fast way of removing it from the 500 ish admin groups apart from group 2 thats query admin, and idea why it doesnt work ?
    Last edited by GoNz0; 04-07-2010 at 21:14. Reason: typo

  7. #7
    Join Date
    May 2007
    Location
    Eastern NC
    Posts
    1,378
    It gave you the error, the column/field name is wrong. Should be perm_id not perm.

  8. #8
    Join Date
    Dec 2009
    Location
    UK
    Posts
    69
    thanks, one last thing, how can i also remove the grant permissions for it as well ?

  9. #9
    Join Date
    May 2007
    Location
    Eastern NC
    Posts
    1,378
    I only know how to modify grant permissions within the client, I've not determined what field in the database is used.

  10. #10
    Join Date
    Dec 2009
    Location
    UK
    Posts
    69
    can you give me an example please?

  11. #11
    Join Date
    May 2010
    Posts
    6,372
    For all permissions you have a grant permission, with the same name in second part.

    You can found it or create it with the first part :
    i_needed_modify_power_.......

    An example :
    You have this permission => b_virtualserver_channel_list

    So the grant permission associated is :
    i_needed_modify_power_virtualserver_channel_list

    If you have set the Grant, this permission is in the database. If not, she doesn't exist in th database.

    Now, you can create (INSERT) you can modify the power (UPDATE) or (DELETE FROM )

  12. #12
    Join Date
    Dec 2009
    Location
    UK
    Posts
    69
    i just did a test on a backup, the last line was a edited command with the value 99

    i ran
    Code:
    DELETE FROM perm_server_group WHERE perm_id = "i_needed_modify_power_permission_modify_power_ignore" AND id1 != 2;
    and it vanished

    thanks for the hints and tips

    i think all i need to do now is run the following 3 to stop the grant permissions on the ignore and maxclient leaving out the query admin

    PHP Code:
    DELETE FROM perm_server_group WHERE perm_id "i_needed_modify_power_permission_modify_power_ignore" AND id1 != 2;
    DELETE FROM perm_server_group WHERE perm_id "i_needed_modify_power_virtualserver_modify_maxclients" AND id1 != 2;
    DELETE FROM perm_server_group WHERE perm_id "i_needed_modify_power_channel_modify_maxclients" AND id1 != 2

  13. #13
    Join Date
    May 2007
    Location
    Eastern NC
    Posts
    1,378
    Quote Originally Posted by florian_fr40 View Post
    For all permissions you have a grant permission, with the same name in second part.

    You can found it or create it with the first part :
    i_needed_modify_power_.......

    An example :
    You have this permission => b_virtualserver_channel_list

    So the grant permission associated is :
    i_needed_modify_power_virtualserver_channel_list

    If you have set the Grant, this permission is in the database. If not, she doesn't exist in th database.

    Now, you can create (INSERT) you can modify the power (UPDATE) or (DELETE FROM )
    OK, so they went the least intuitive way possible. An extra perm_id that is not shown in the client with looking at the permissions by name....

  14. #14
    Join Date
    Dec 2009
    Location
    UK
    Posts
    69
    it does not help does it. a big thanks to all of you for helping

  15. #15
    Join Date
    May 2007
    Location
    Eastern NC
    Posts
    1,378
    At the very least they could have used the permission name and just append "_grant" to the end so it is easy to work it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 24-05-2010, 11:54
  2. taking away the ability for Permanent Bans for chan admins
    By jayw654 in forum Permission System
    Replies: 4
    Last Post: 24-01-2010, 13:50
  3. taking away inifinite Bans for chan admins
    By jayw654 in forum Windows
    Replies: 2
    Last Post: 15-01-2010, 13:01
  4. How to allow individual server admins to restart their own server?
    By shacky002 in forum [TeamSpeak 2] Server Support
    Replies: 3
    Last Post: 31-10-2006, 20:16

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •