[
https://issues.apache.org/jira/browse/RANGER-278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alok Lal updated RANGER-278:
----------------------------
Attachment: 0001-RANGER-278-Add-validation-for-service-create-update-.patch
Consolidated patch.
> 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
> Assignee: Alok Lal
> Fix For: 0.5.0
>
> Attachments:
> 0001-RANGER-278-Add-validation-for-service-create-update-.patch
>
>
> 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)