You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Alok Lal (JIRA)" <ji...@apache.org> on 2015/03/01 03:24:04 UTC

[jira] [Created] (RANGER-278) REST, Store: validation of policy/service/service-def

Alok Lal created RANGER-278:
-------------------------------

             Summary: REST, Store: validation of policy/service/service-def
                 Key: RANGER-278
                 URL: https://issues.apache.org/jira/browse/RANGER-278
             Project: Ranger
          Issue Type: New Feature
    Affects Versions: 0.5.0
            Reporter: Alok Lal
             Fix For: 0.5.0


Policy/Service/ServiceDef validation should be added during create/update/delete operation. Here are some of the validations to add:
- values are provided for all mandatory fields (names, resources, etc)
- values are valid (for example: based on validationRegEx in the resource def, enum values, no duplicate names for service-def/service/policy-within-a-service)
- ensure that user has permissions to create/update/view policy/service/service-def
- check for conflicting/overlapping policies



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)