Glimpse: Unify permissions check code

* Also add it to albums fragment

Change-Id: I8ff91bffbd5c414964e4d34bb1bc80a9fae9103e
5 files changed