You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Pradeep Agrawal (JIRA)" <ji...@apache.org> on 2019/05/06 06:20:00 UTC
[jira] [Resolved] (RANGER-2411) Restrict Admin role user to create
Zone for KMS service
[ https://issues.apache.org/jira/browse/RANGER-2411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pradeep Agrawal resolved RANGER-2411.
-------------------------------------
Resolution: Fixed
[https://github.com/apache/ranger/commit/56fd7ff5ccb5aac38fead8ed6224a030fd010fd7]
> Restrict Admin role user to create Zone for KMS service
> -------------------------------------------------------
>
> Key: RANGER-2411
> URL: https://issues.apache.org/jira/browse/RANGER-2411
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Affects Versions: 2.0.0
> Reporter: Harshal Chavan
> Assignee: Nikhil Purbhe
> Priority: Major
>
> Expected Result: Admin role user should not be allowed to create Zone for KMS service.
> CURL Request: curl -i -u admin:admin123 --header "Accept:application/json" -H "Content-Type: application/json" -X POST http://<hostname>:6080/service/zones/zones -d '{"adminUserGroups":["admingroup1"],"adminUsers":["admintest1"],"auditUserGroups":["auditgroup1"],"auditUsers":["auditest1"],"name":"kms-accesspolicy","services":{"cl1_kms":{"resources":[
> {"keyname":["kmstest1"]}
> ]}}}'
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)