Forum


Notice to all users

We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020

Results 1 to 5 of 5
  1. #1
    Join Date
    October 2010
    Location
    Germany
    Posts
    67

    Solved Unable to assign a group to a Server Admin User

    I've got the following scenario:

    User A has the following permissions:
    Code:
    i_group_member_add_power = 75
    This user want's to assign the following group (ServerGroupABC):
    Code:
    i_group_needed_member_add_power = 75
    to User B which is a member of the Server Admin group.

    What i'm doing:
    login username password
    error id=0 msg=ok
    use 1
    error id=0 msg=ok
    help servergroupaddclient
    Usage: servergroupaddclient sgid={groupID} cldbid={clientDBID}

    Adds a client to the server group specified with sgid. Please note that a
    client cannot be added to default groups or template groups.

    Example:
    servergroupaddclient sgid=16 cldbid=3
    error id=0 msg=ok

    error id=0 msg=ok
    servergroupaddclient sgid=623 cldbid=31429
    error id=2568 msg=insufficient\sclient\spermissions failed_permid=172
    Why is User A unable to assign the group to User B which is already a member of the Server Admin group?
    Is there any other requirement to add a group to a user expect i_group_member_add_power >= i_group_needed_member_add_power ?

    Greetings
    Last edited by FireEmerald; May 17th, 2016 at 09:32 PM.

  2. #2
    Join Date
    January 2010
    Location
    Secret Base in Arctic Region
    Posts
    1,671
    The error permission says it. Did you check for the permission_id?
    172 is "i_client_needed_permission_modify_power".

    To change a clients group you need sufficient "i_group_member_add_power" AND "i_client_permission_modify_power".

    PS: Take care of your (numeric) levels. Staff is a bit picky about whats allowed and forbidden

  3. #3
    Join Date
    October 2010
    Location
    Germany
    Posts
    67
    Quote Originally Posted by Alcazar View Post
    172 is "i_client_needed_permission_modify_power".
    How did you determinate, that permission 172 is - "i_client_permission_modify_power"? Didn't found it in the query manual...

    Quote Originally Posted by Alcazar View Post
    To change a clients group you need sufficient "i_group_member_add_power" AND "i_client_permission_modify_power".
    Ok, so it's:
    • i_group_member_add_power >= i_group_needed_member_add_power AND
    • i_client_permission_modify_power >= i_client_needed_permission_modify_power.


    Quote Originally Posted by Alcazar View Post
    PS: Take care of your (numeric) levels.
    Do you mean the value of the permission (75) or the sgid (623)/cldbid (31429)?

  4. #4
    Join Date
    January 2010
    Location
    Secret Base in Arctic Region
    Posts
    1,671
    By looking it up in my TS-Permission-Table
    You can get yours by using ServerQuery Command "permissionlist".

    And meant the permission levels (numeric values) not your groups or users.

  5. #5
    Join Date
    October 2010
    Location
    Germany
    Posts
    67

    Solved Permission ID's

    Thanks for this info

    If someone else is looking for the Permission ID's take a look at this list.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [Not possible] Possible that members of a group can't assign groups to another user but themselves?
    By FatalBulletHit in forum Permission System
    Replies: 3
    Last Post: April 6th, 2016, 02:35 PM
  2. Replies: 5
    Last Post: April 1st, 2016, 08:55 AM
  3. Replies: 4
    Last Post: December 10th, 2015, 02:44 AM
  4. Allow server group to assign Channel Admin
    By Mast3rPlay in forum Permission System
    Replies: 1
    Last Post: April 27th, 2015, 08:42 AM
  5. [Not possible] Assign a user a group after x amount of time?
    By tom8004 in forum Linux / FreeBSD
    Replies: 3
    Last Post: March 27th, 2014, 07:56 PM

Tags for this Thread

Posting Permissions

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