Extend the usage of * check_api_user_read_permission * check_api_user_write_permission to all the endpoints of the api.py