You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Dan Burkert (JIRA)" <ji...@apache.org> on 2018/09/26 18:43:19 UTC
[jira] [Commented] (KUDU-2542) Fill-out AuthzToken definition
[ https://issues.apache.org/jira/browse/KUDU-2542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16629254#comment-16629254 ]
Dan Burkert commented on KUDU-2542:
-----------------------------------
The design for this is described in the 'Authorization Tokens' section of the [design doc|https://docs.google.com/document/d/1SEBtgWwBFqij5CuCZwhOqDNSDVViC0WERq6RzsPCWjQ/edit?usp=sharing].
> Fill-out AuthzToken definition
> ------------------------------
>
> Key: KUDU-2542
> URL: https://issues.apache.org/jira/browse/KUDU-2542
> Project: Kudu
> Issue Type: Sub-task
> Components: security
> Affects Versions: 1.8.0
> Reporter: Dan Burkert
> Priority: Major
>
> As part of the Sentry integration, it will be necessary to flesh out theĀ [AuthzTokenPB|https://github.com/apache/kudu/blob/master/src/kudu/security/token.proto#L28] structure with relevant fields:
> # The ID of the table which the token applies to
> # The username which the attached privileges belong to
> # The privileges
> Sentry has it's own privilege formatĀ [TSentryPrivilege|https://github.com/apache/sentry/blob/master/sentry-service/sentry-service-api/src/main/resources/sentry_policy_service.thrift#L47-L58], but we'll probably want to convert this into our own internal Protobuf-based format for the following reasons:
> # The tokens will be used in the tablet servers to authorize client actions. Currently tablet servers don't use or link to Thrift libraries.
> # The Sentry privilege structure references columns by name, whereas we will need to reference columns by ID in order to be robust to columns being renamed.
> # Having our own format will make it easier to drop in alternate authorization providers in the future.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)