[
https://issues.apache.org/jira/browse/DRILL-3467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Venki Korukanti updated DRILL-3467:
-----------------------------------
Attachment: DRILL-3467-1.patch
Attaching patch:
Restrict visibily of workspaces in 'show schemas' based on access permissions
of querying user while registering the workspaces.
Also:
Fixed failing tests in TestJdbcMetadata as the result depends on whether
/tmp/drill_test is available on test system or not. Change it to use the
default connection test parameters (which creates a unique tmp directory) so
that the test result doesn't depend on individual machine.
> Restrict 'show databases' based on underlying permissions.
> ----------------------------------------------------------
>
> Key: DRILL-3467
> URL: https://issues.apache.org/jira/browse/DRILL-3467
> Project: Apache Drill
> Issue Type: Improvement
> Components: Metadata
> Reporter: Andy Pernsteiner
> Assignee: Venki Korukanti
> Attachments: DRILL-3467-1.patch
>
>
> Ideally, an administrator would have the ability to restrict the visibility
> of workspaces based on the FS permissions that underly those workspaces.
> Currently it appears we only honor this for 'show tables' , but not for 'show
> databases'.
> Without this functionality (or something that gives an equivalent result),
> users will be able to see any and all workspaces, including ones which
> administrators may wish to keep 'invisible'. Additionally, when having
> hundreds (or potentially thousands) of users, seeing all workspaces via 'show
> databases' is likely to make it difficult for end-users to know what they can
> and cannot access.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)