so there is multiple layers:
1. request: this is what you read about in the docs
2. global config: you can configure a global max depth on your project level, currently not through the UI afaik, but through the Ory CLI
ory update permission-config
under
limit.max_read_depth
(default is 5)
3. we limit the value you can set for your project to 20