Update post_permssion table,tested addPostPermission function