role validation and interface for ship function