----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/66263/ -----------------------------------------------------------
Review request for sentry, Alexander Kolbasov, Arjun Mishra, kalyan kumar kalvagadda, and Sergio Pena. Repository: sentry Description ------- update mysql related scripts to 1) dd new DB table SENTRY_USER_DB_PRIVILEGE_MAP and SENTRY_USER_GM_PRIVILEGE_MAP to support grant user to privileges 2) a flag is added in privilege table to indicate the privilege is created by user, or created by sentry implicitly. I will make change in application code so User can view the implicit privileges, but cannot change it directly The current change only for MySql. Once we finalize the schema, I will add more scripts for other DBs Diffs ----- sentry-provider/sentry-provider-db/src/main/resources/010-SENTRY-2154.mysql.sql PRE-CREATION sentry-provider/sentry-provider-db/src/main/resources/sentry-mysql-2.1.0.sql PRE-CREATION sentry-provider/sentry-provider-db/src/main/resources/sentry-upgrade-mysql-2.0.0-to-2.1.0.sql PRE-CREATION sentry-provider/sentry-provider-db/src/main/resources/upgrade.order.mysql 770e1b5 Diff: https://reviews.apache.org/r/66263/diff/1/ Testing ------- Run the script and update script, and the tables are created and updated successfully. Thanks, Na Li