Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-278

REST, Store: validation of policy/service/service-def

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.5.0
    • Fix Version/s: 0.5.0
    • Component/s: None
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alok Alok Lal
                Reporter:
                alok Alok Lal
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: