SENTRY-340 Database implement for with grant option