added a rank check for panels that shouldn not be accessed by read-only capable users