Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access granted to deleted UMA resources #170

Closed
ldeveloperl1985 opened this issue Mar 26, 2018 · 1 comment
Closed

Access granted to deleted UMA resources #170

ldeveloperl1985 opened this issue Mar 26, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@ldeveloperl1985
Copy link

I created the resources with below request.

[
  {
    "path": "/posts",
    "conditions": [
      {
        "httpMethods": [
          "GET",
          "POST"
        ],
        "scope_expression": {
          "rule": {
            "and": [
              {
                "var": 0
              }
            ]
          },
          "data": [
            "https://jsonplaceholder.typicode.com"
          ]
        }
      }
    ]
  },
  {
    "path": "/comments",
    "conditions": [
      {
        "httpMethods": [
          "GET"
        ],
        "scope_expression": {
          "rule": {
            "or": [
              {
                "var": 0
              }
            ]
          },
          "data": [
            "https://jsonplaceholder.typicode.com"
          ]
        }
      }
    ]
  }
]

But after updating the resources by deleting /comments path. It still allows granted to deleted resources.

Update request
[
  {
    "path": "/posts",
    "conditions": [
      {
        "httpMethods": [
          "GET",
          "POST"
        ],
        "scope_expression": {
          "rule": {
            "and": [
              {
                "var": 0
              }
            ]
          },
          "data": [
            "https://jsonplaceholder.typicode.com"
          ]
        }
      }
    ]
  }
]

oxd-server.log
OXD version 3.1.3

@yuriyz
Copy link
Contributor

yuriyz commented Mar 26, 2018

Closing, oxd-server does not remove UMA Resources yet. It will be implemented with #167

@yuriyz yuriyz closed this as completed Mar 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants