Forum

Results 1 to 5 of 5
  1. #1
    Join Date
    September 2016
    Posts
    76

    i_group_sort_id not returned by query

    I'm using the query interface to check someone's groups and display them in the correct order, by value of i_group_sort_id. However, upon upgrading to server 3.2.0, I have noticed that the servergrouppermlist command does not return perm_id 148, which is in fact i_group_sort_id.

    i_group_sort_id is set on all the groups I am in, but it does not show when I dump the array of all permissions on my individual groups. This is rather frustrating, because this leaves me with no other way of sorting them until this is fixed.

    Unless of course, am doing something wrong, but surely if all the other permissions appear, then it clearly must be a bug with i_group_sort_id right?

    Thanks

  2. #2
    Join Date
    September 2016
    Posts
    76
    Digging a little deeper, I've just realised that this ID has been changed - it used to be 148, it is now 149 (in a new server version perhaps?). Great to see Teamspeak letting everyone know, as per usual.

    http://yat.qa/resources/permission-ids/ - this list is therefore now partially inaccurate, but its the only one that exists. Teamspeak, its been a decade since the release of a stable server version, isn't it time that we could have an official list of these, which would get updated as and when things are changed?

  3. #3
    Join Date
    September 2005
    Location
    Germany / Dortmund
    Posts
    1,376
    That's why there is a permgetidbyname or permissionlist command!
    No reason to rant...

  4. #4
    Join Date
    September 2016
    Posts
    76
    there is reason to rant, because we never get informed of changes like this and it just makes our job more difficult than it should be

  5. #5
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,365
    You get informed by a changing permission version via query. Noone should ever use hard-coded Permission IDs, especially not above 13. permoverview and permfind return only permission ID but there is no function that does not accept permission SIDs as input (documentations states that permfind and permoverview must be called with permid, but that is incorrect).

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. i_group_sort_id grant perm = 0 can't change back
    By ColSparky in forum Permission System
    Replies: 1
    Last Post: March 8th, 2017, 07:59 AM
  2. [no BUG] i_group_sort_id doesn't work as expected.
    By Slater in forum Bug Reports [EN/DE]
    Replies: 5
    Last Post: November 25th, 2010, 04:27 PM
  3. [solved] Silly question about i_group_sort_id
    By }SoC{ Lazer in forum General Questions
    Replies: 2
    Last Post: November 11th, 2010, 07:35 PM

Posting Permissions

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