diff --git a/obp-api/src/main/resources/props/sample.props.template b/obp-api/src/main/resources/props/sample.props.template index cf0b211c9..e2441682f 100644 --- a/obp-api/src/main/resources/props/sample.props.template +++ b/obp-api/src/main/resources/props/sample.props.template @@ -67,6 +67,11 @@ connector=mapped ## So if you want the new endpoints shown timely, set this value to a small number. resourceDocsObp.cache.ttl.seconds=3600 +## This can change the behavior of `Get Resource Docs`. If we set it to `true`, OBP will check the authentication and CanReadResourceDoc Role +# the default value is false, so the `Get Resource Docs` is anonymous as default. +resource_docs_require_role=false + + ## enable logging all the database queries in log file #logging.database.queries.enable=true diff --git a/release_notes.md b/release_notes.md index 8b8819e81..2b497b12c 100644 --- a/release_notes.md +++ b/release_notes.md @@ -3,6 +3,8 @@ ### Most recent changes at top of file ``` Date Commit Action +19/02/2020 3f04a7a0 Added props: resource_docs_require_role. default is false. If set it as `true`, then OBP will + check the authentication and CanReadResourceDoc Role for the endpoint: `Get Resource Docs`. 21/11/2019 51f97330 Added props: portal_hostname. default use the same value as hostname. This props is only useful when we split obp to two instances: apis and portal. So portal one need its own hostname, portal_hostname can be used for it. 18/11/2019 de4aec71 Added props: grpc.server.enabled. default is false.