Change this to a rights check please.