From this video you will see how the Hadoop Gateway will work with Sentry permissions:
Enabling Sentry in your Hadoop Cluster
Sentry allows Big Data Cluster admins to easily grant/revoke permissions to users and groups of users in their organizations. Privileges set in Sentry will then be enforced by Hive, Impala, or HDFS services when a user attempts to execute requests against tables or files.
Starting in CDH 5.3, Apache Sentry integration with HDFS saves admins a lot of work by centralizing access control permissions across components that utilize HDFS. The following website can step you through the necessary steps to enable Sentry.