Add premission code reg

Add premission code reg