Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Can't delete checks in status DELETED #675

Open
alexkorotkikh opened this issue Feb 5, 2019 · 0 comments
Open

Can't delete checks in status DELETED #675

alexkorotkikh opened this issue Feb 5, 2019 · 0 comments
Labels
bug user-reported issues that take more than one hour to resolve

Comments

@alexkorotkikh
Copy link
Contributor

alexkorotkikh commented Feb 5, 2019

Steps to reproduce:

  1. Change status of any check to DELETED
  2. Run CLI command: zmon check delete <check_id>

Expected result:

Deleting check <check_id> ... OK

Actual result:

Deleting check <check_id> ... EXCEPTION OCCURRED: 403 Client Error: Forbidden for url: https://zmon.zalando.net/api/v1/check-definitions/<check_id>/
HTTP error: 403 - Forbidden
{
    "message": "You are not allowed to delete this check definition"
}

Reason: https://github.com/zalando-zmon/zmon-controller/blob/master/zmon-security-common/src/main/java/org/zalando/zmon/security/permission/DefaultZMonPermissionService.java#L148

@laceyallyn laceyallyn added the bug user-reported issues that take more than one hour to resolve label Feb 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug user-reported issues that take more than one hour to resolve
Projects
None yet
Development

No branches or pull requests

2 participants