Green’s Dictionary of Slang

granny n.3

[? the supposed experience of a grandmother, or phr. teach your grandmother to suck eggs]

1. knowledge, importance, pride; thus take the granny off, to humiliate, to ‘bring down a peg’; thus to make dirty.

[UK]Hotten Dict. of Modern Sl. etc. 47: GRANNY, importance, knowledge.
[UK](con. 1840s–50s) H. Mayhew London Labour and London Poor I 364/1: A compound of black lead and tallow, to ‘take the granny’ off them as has white ’ands, so as the flat’s shan’t ‘tumble’ to the unworkmanlike appearance of the palms of the ‘lurker’.
[UK]Hotten Sl. Dict.

2. a knowledgeable person.

[UK]London Standard 19 May 6/2: If you come in [i.e. to prison] again, you know / Your chancellor’s a granny.
[US]Atlanta Constitution 31 Aug. 2/2: Our state is in great trouble and commotion, and he is the ‘granny’ to restore peace and harmony.

In phrases

at the granny (phr.)

(UK und.) obtaining information regarding a possible crime.

[UK]Thieves Slang ms list from District Police Training Centre, Ryton-on-Dunsmore, Warwicks 1: At the granny: Seeking information.