Added permissions to views