caps_allowed = (user != NULL); ?