[
https://issues.apache.org/jira/browse/RANGER-709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15342495#comment-15342495
]
Velmurugan Periasamy commented on RANGER-709:
---------------------------------------------
Patch committed to master -
https://git-wip-us.apache.org/repos/asf?p=incubator-ranger.git;a=commit;h=e2fe01c390f11750358912504286fbf740e9692d
> Support conditions that handle only a single value
> --------------------------------------------------
>
> Key: RANGER-709
> URL: https://issues.apache.org/jira/browse/RANGER-709
> Project: Ranger
> Issue Type: Bug
> Components: admin
> Affects Versions: 0.5.0
> Reporter: Madhan Neethiraj
> Assignee: Mehul Parikh
> Attachments: RANGER-709.patch
>
>
> Currently Ranger Admin allows users to enter multiple values to custom
> conditions - like "ip-range" condition, in which users can enter multiple
> values. This works for most conditions. However, there are conditions that
> expect a single value from the user - like a boolean value. For such
> conditions, Ranger Admin should allow the user to enter only one value. For
> example, this will be useful for a condition like "accessed-after-expiry" -
> which expects the user to enter either "yes" or "no".
> Ranger Admin can use uiHint "singleValue=true" in the condition-def to
> determine whether to allow only a single value input or not. Please review
> condition "accessed-after-expiry" in ranger-servicedef-tag.json for uiHint
> usage.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)