You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Velmurugan Periasamy (JIRA)" <ji...@apache.org> on 2017/03/19 22:28:41 UTC

[jira] [Updated] (RANGER-709) Support conditions that handle only a single value

     [ https://issues.apache.org/jira/browse/RANGER-709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Velmurugan Periasamy updated RANGER-709:
----------------------------------------
    Fix Version/s: 0.6.0

> 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
>             Fix For: 0.6.0
>
>         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.15#6346)