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

REST endpoints do not prevent duplicate values for a resource resulting in multiple policies for a resource

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Ranger
    • None

    Description

      Ranger UI prevents duplicate values for a resource e.g. while creating hive policy, UI prevents list of duplicate values for database such as [test_db1,test_db1]

      When creating policies via REST endpoints, the checks for duplicate values for a resource are not done and results in duplicate policies for the same resource (in this case test_db1).  

      Policy validation should be improved to havre this check in place to prevent duplicate values for a given resource.

      Attachments

        Activity

          People

            fateh288 Fateh Singh
            fateh288 Fateh Singh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h