support post submit and permission check