I'd like to suggest a small change to this API function, in order to be able to read the permissions of a rank other than the current player's. Something like:
My addon saves the guild bank content, and I allow players in the same guild to update it from one another based on timestamps, but when player A requests info from player B, B has to check whether A may receive it based on his rank, which can't be done at this point.
edit: It would be nice if the function could be called at any moment too, it only seems to return values when going into Guild Control with the guild leader. In the context mentioned above, if a guild officer receives a request from a lower rank, I'd like to know his rights.