Imrove performance when there are a lot of items

require permissions.