Creating Workspaces using API do not create roles

Hey guys,

When I create a workspace using the Admin portal, the default four roles gets created as mentioned here.

But the four roles and corresponding permissions do not get created when I create using the rest API. Am I missing something?

$ curl -X POST \
  -H "Kong-Admin-Token: <some_password>" \
  --url http://localhost:8001/workspaces \
  --data 'name=<workspace_name>'

This is not a huge blocker, since I can still use Rest API to create roles and add permissions to it, but it would be nice to have the same behaviour using GUI and API.