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

Madhan Neethiraj updated RANGER-4971:
-------------------------------------
    Description: 
RANGER-4970 added support for validity schedule as a policy condition, which 
can be used in allowing access to principals for specific time duration. Ranger 
policy UI should be updated to support managing validity schedules in policy 
conditions, similar to the UI supported for validity schedule at policy level - 
as shown below. This should be supported for all conditions having 
{{uiHint.valueType}} set to {{{}validitySchedule{}}}, as shown below:
{code:java}
"policyConditions": [
  {
    "itemId":      1,
    "name":        "validitySchedule",
    "evaluator":   
"org.apache.ranger.plugin.conditionevaluator.RangerValidityScheduleConditionEvaluator",
    "uiHint":      "{ \"valueType\": \"validitySchedule\" }"
    "label":       "Validity schedule",
    "description": "Validity schedule"
  }
]{code}
 

[~mugdha], [~brijesh] 

!Policy_Validity_Schedule.png!

  was:
RANGER-4970 added support for validity schedule as a policy condition, which 
can be used in allowing access to principals for specific time duration. Ranger 
policy UI should be updated to support managing validity schedules in policy 
conditions, similar to the UI supported for validity schedule at policy level - 
as shown below. This should be supported for all conditions having 
{{uiHint.valueType}} set to {{validitySchedule}}.

 

[~mugdha], [~brijesh] 

!Policy_Validity_Schedule.png!


> UI: condition to support validity schedule
> ------------------------------------------
>
>                 Key: RANGER-4971
>                 URL: https://issues.apache.org/jira/browse/RANGER-4971
>             Project: Ranger
>          Issue Type: Improvement
>          Components: admin
>            Reporter: Madhan Neethiraj
>            Assignee: Dhaval Rajpara
>            Priority: Major
>         Attachments: Policy_Validity_Schedule.png
>
>
> RANGER-4970 added support for validity schedule as a policy condition, which 
> can be used in allowing access to principals for specific time duration. 
> Ranger policy UI should be updated to support managing validity schedules in 
> policy conditions, similar to the UI supported for validity schedule at 
> policy level - as shown below. This should be supported for all conditions 
> having {{uiHint.valueType}} set to {{{}validitySchedule{}}}, as shown below:
> {code:java}
> "policyConditions": [
>   {
>     "itemId":      1,
>     "name":        "validitySchedule",
>     "evaluator":   
> "org.apache.ranger.plugin.conditionevaluator.RangerValidityScheduleConditionEvaluator",
>     "uiHint":      "{ \"valueType\": \"validitySchedule\" }"
>     "label":       "Validity schedule",
>     "description": "Validity schedule"
>   }
> ]{code}
>  
> [~mugdha], [~brijesh] 
> !Policy_Validity_Schedule.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to