ENG-6855: Add permission inference

SQL includes SQLREAD, DEFAULTPROC
SQLREAD includes DEFAULTPROCREAD
DEFAULTPROC includes DEFAULTPROCREAD
ADMIN includes everything

Only check for the appropriate permission in the permission policies.