Pre-requisites Steps :
Install Ranger, Hive Component and enable Ranger for Hive component.
Steps to Reproduce:
Execute grant command(with grant option) in hive; at Ranger end it will create policy with corresponds details specified in the grant command like resources, permission, users, groups and also enables delegatedAdmin permission(set to true).
Sample : grant select, UPDATE ON TABLE xatestgr.testtable to USER user1 with grant option;
Now execute revoke command with 'revoke grant option' from hive; at Ranger end it will update policy with correct info as specified in the revoke command like resources, users/groups, access permissions but it does not change delegatedAdmin permission(back to false)
Sample : revoke grant option for select, create, update, drop ON TABLE xatestgr.testtable FROM USER user1;
Expected behaviour :
When run revoke command with 'revoke grant option' it should change delegated admin permission.