You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Dineshkumar Yadav (Jira)" <ji...@apache.org> on 2022/10/11 14:33:00 UTC
[jira] [Commented] (RANGER-3887) Validity Scheduler , recurrence schedule: Ranger accepts invalid start/endTime
[ https://issues.apache.org/jira/browse/RANGER-3887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17615869#comment-17615869 ]
Dineshkumar Yadav commented on RANGER-3887:
-------------------------------------------
master [commit|https://github.com/apache/ranger/commit/f0ef01899a98fb2986ee7336763ecff48e690f76]
> Validity Scheduler , recurrence schedule: Ranger accepts invalid start/endTime
> ------------------------------------------------------------------------------
>
> Key: RANGER-3887
> URL: https://issues.apache.org/jira/browse/RANGER-3887
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Reporter: Sharmadha S
> Assignee: Dineshkumar Yadav
> Priority: Major
>
> In the following policy : "endTime" is provided as "2019/13/13 14:32:00" for which Ranger creates policy successfully.
> {code:java}
> {
> "end-one-entity-classification":null,
> "name":"test_validity_scheduler_ygufx",
> "service":"cm_atlas",
> "isAuditEnabled":true,
> "zoneName":"",
> "end-two-entity-classification":null,
> "isDenyAllElse":false,
> "end-two-entity-type":null,
> "validitySchedules":[
> {
> "timeZone":"",
> "endTime":"2019/13/13 14:32:00",
> "startTime":"2019/01/01 14:32:00"
> }
> ],
> "denyPolicyItems":[
> {
> "users":[
> "hrt_qa"
> ],
> "accesses":[
> {
> "isAllowed":true,
> "type":"entity-read"
> },
> {
> "isAllowed":true,
> "type":"entity-create"
> },
> {
> "isAllowed":true,
> "type":"entity-update"
> },
> {
> "isAllowed":true,
> "type":"entity-delete"
> }
> ]
> }
> ],
> "end-two-entity":null,
> "policyItems":[
>
> ],
> "end-one-entity-type":null,
> "policyLabels":[
>
> ],
> "type":null,
> "end-one-entity":null,
> "resources":{
> "entity":{
> "isExcludes":false,
> "values":[
> "*"
> ],
> "isRecursive":false
> },
> "entity-type":{
> "isExcludes":false,
> "values":[
> "hdfs_path"
> ],
> "isRecursive":false
> },
> "entity-classification":{
> "isExcludes":false,
> "values":[
> "*"
> ],
> "isRecursive":false
> }
> },
> "description":"cm_atlas"
> } {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)