Commit 959e9c72 authored by Riabokon Stanislav(EPAM)[GCP]'s avatar Riabokon Stanislav(EPAM)[GCP]
Browse files

Update PolicyService-Integration.md

parent b8f2b39a
Pipeline #49365 failed with stages
in 22 seconds
......@@ -23,6 +23,7 @@ Here are steps to enable Policy service for a provider:
- Add and provide values for following runtime configuration in `application.properties`
```
service.policy.enabled=true
service.policy.id=search //policy_id from ${policy_service_endpoint}/api/policy/v1/policies.
service.policy.endpoint=${policy_service_endpoint}
policy.cache.timeout=<timeout_in_minutes>
PARTITION_API=${partition_service_endpoint}
......@@ -31,4 +32,4 @@ Here are steps to enable Policy service for a provider:
- This is an experimental feature and at this moment has following limitations
1. If the query has `returnedFields` set, it must contain all `acl, kind, legal` and `id`
2. In the current implementation, totalCount represents the number of records matching user query before the search policy is applied
3. Because the policy auth filter is applied outside of query handles, cursor may not point to the accurate data entry when using `query_with_cursor`
\ No newline at end of file
3. Because the policy auth filter is applied outside of query handles, cursor may not point to the accurate data entry when using `query_with_cursor`
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment