issue,posting: Fix a bug about deleting permission

Author can delete own issue or posting regardless of config
Fix constraint violation by test-data.yml.

* In test-data.yml, Remove entities already added by initial-data.yml.
* Make Global.insertTestData insert "users" entities.