add missing permission for compass

(cherry picked from commit de1c13a35ded74ebdec33b297ff28d519db78e1f)