[
https://issues.apache.org/jira/browse/SENTRY-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Na Li updated SENTRY-2356:
--------------------------
Resolution: Won't Fix
Status: Resolved (was: Patch Available)
We already have a general function SentryPolicyServiceClient.getConfigValue(),
which calls SentryPolicyStoreProcessor.get_sentry_config_value. The returned
value is String.
The caller can get the returned value in String and compare with
org.apache.sentry.service.common.SentryOwnerPrivilegeType to validate the
value, and use it accordingly.
Therefore, we don't need a specific API for Owner Privilege Type only.
> Sentry Server should provide API for Sentry Client to get Owner Privilege
> Type
> -------------------------------------------------------------------------------
>
> Key: SENTRY-2356
> URL: https://issues.apache.org/jira/browse/SENTRY-2356
> Project: Sentry
> Issue Type: Sub-task
> Components: Sentry
> Affects Versions: 2.1.0
> Reporter: Na Li
> Assignee: Na Li
> Priority: Major
> Attachments: SENTRY-2356.001.patch
>
>
> In some situations, Sentry client needs to know the owner privilege type that
> is configured at sentry server.
> client should only be able to read this value, but not be able to change it.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)