Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MB-52517: Disallow Alter Index and Create Index With parameters in Se…
…rverless. Implemented CreatePrimaryIndex5 and CreateIndex5 functions as a part of Indexer5{} interface. This interface passes the user crdentials as IndexConnection which can be used to perform a RBAC check. 1. IsOperationAllowed() returns fasle only if the user does not have permission to use certain paarmeters in WITH Clause in serverless mode. 2. IsParameterAllowed() returns true only if the WITH clause has either "defer_build" or "retain_deleted_xattr" or both. Change-Id: I32d340b5db69c117945c844f7912dba0cbc4d60f
- Loading branch information
1 parent
1b5cb71
commit fad6f20
Showing
2 changed files
with
79 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters