fix not to reset mgResource type, added previously deleted policy check condition in edit form
package regenerated