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/04/16 04:05:58 UTC
[jira] [Commented] (RANGER-278) REST, Store: validation of
policy/service/service-def
[ https://issues.apache.org/jira/browse/RANGER-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14497458#comment-14497458 ]
Alok Lal commented on RANGER-278:
---------------------------------
Re-enabled policy validation since the policy query changes have gone in. [Review created|https://reviews.apache.org/r/33250/]
> 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-policy-create-update-d.patch, 0001-RANGER-278-Add-validation-for-service-create-update-.patch, 0001-RANGER-278-move-validation-classes-under-org.apache..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)