add permission to index