Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Operation
Privileges Required (Existing)
Privileges Required (Proposed)
Integration test name(Class name + test name)
CreateADMIN (on the CDAP instance)

ADMIN

BasicAuthorizationTestBase.testBasicGrantOperations
UpdateADMIN (on the namespace)  
DeleteADMIN (on the namespace)ADMIN on the namespace, and all entities in the namespace
 
View/ListAny of READ, WRITE, EXECUTE, or ADMINAny privilege on the namespace or any of its descendants. 
Get Namespace Meta Any privilege on the namespace or any of its descendants. 

...

Datasets

Operation
Privileges Required (Existing)
Privileges Required (Proposed)
Integration Test Name
CreateWRITE (on the namespace)ADMINBasicAuthorizationTestBase.testDatasetPrivileges
Read(READ (on the dataset) and READ (namespace)) | READ (on the namespace)READ 
Retrieving propertiesNot DocumentedAny of READWRITEADMIN, or EXECUTE 
WriteWRITE (on the dataset) | WRITE (on the namespace)WRITE 
Update(ADMIN (on the dataset) and READ (on the namespace)) | (ADMIN (on the namespace) and READ (on the namespace))ADMINBasicAuthorizationTestBase.testDatasetPrivileges
UpgradeADMIN (on the dataset) | ADMIN (on the namespace)ADMIN 
TruncateADMIN (on the dataset) | ADMIN (on the namespace)ADMINBasicAuthorizationTestBase.testDatasetPrivileges
DropADMIN (on the dataset) | ADMIN (on the namespace)ADMINBasicAuthorizationTestBase.testDatasetPrivileges
View/ListAny of READ, WRITE, EXECUTE, or ADMIN BasicAuthorizationTestBase.testDatasetPrivileges
Get dataset meta ADMIN | READ | WRITEBasicAuthorizationTestBase.testDatasetPrivileges

 

Dataset Modules

Operation
Privileges Required (Existing)
Privileges Required (Proposed)
DeployWRITE (on the namespace)ADMIN
DeleteADMIN (on the dataset module) | ADMIN (on the namespace)ADMIN
Delete-all in the namespaceADMIN (on the namespace)ADMIN on all dataset modules in the namespace
View/ListAny of READ, WRITE, EXECUTE, or ADMIN 
Get module meta ADMIN | READ

 

...