Add new options for publish state

Add assign_permission.php