Skip to content

Unable to delete downtimes despite existing permissions #1245

@mschroeder21

Description

@mschroeder21

Describe the bug

The user receives the message No authorization for icingadb/command/downtime/delete if he tries to delete a downtime although he has the icingadb/command/downtime/* permission.

To Reproduce

  1. User creates downtime
  2. Downtime was created successfully
  3. User tries to remove the downtime but Icinga DB Web refuses to mentioned error.

Expected behavior

Downtime gets removed.

Screenshots

Image

Permission check via audit:

Image

Your Environment

Include as many relevant details about the environment you experienced the problem in.

  • Icinga DB Web version (System - About): 1.2.1
  • Icinga Web 2 version (System - About): 2.12.4
  • Web browser: Google Chrome 138.0.7204.93
  • Icinga 2 version (icinga2 --version): 2.15.0
  • Icinga DB version (icingadb --version): 1.4.0
  • PHP version used (php --version): 8.3
  • Server operating system and version: Ubuntu 24.04

Additional context

n/a

Metadata

Metadata

Assignees

Labels

area/access-controlAffects the authorization of usersqueue/importantBlocks a release or needs immediate attention

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions