public static void SaveRights() { Provider.SaveRights(Right.GetAllRights()); // This needs to be called after rights are changed. Right.RefreshAllRights(); }