Project

General

Profile

Actions

Bug #960

closed

User without admin rights is not able to delete reports

Added by Marcello de Sousa almost 13 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Users, Roles and Permissions
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

A user with rights to "Edit Host" is able to delete the host but doesn't seem to have rights to delete the reports ... Deleting a host with that user will slightly break the DB giving you a 500 when you generate reports with the "orphan" host ID.

PS.: I've tested this with the latest stable (0.2) and noticed the "last login" info for the user without admin rights is also not updated.

PS2.: "Nice to have" (not a "must"): It would be nicer if foreman would not crash with the orphan ID, but inform you about that (at the error msg or at the specific report "row" self).


Related issues 3 (0 open3 closed)

Related to Foreman - Bug #1064: "last login" info for a user without admin rights is not updatedClosed07/24/2011Actions
Related to Foreman - Feature #1067: Expose error messages in the web GUIClosedOhad Levy07/24/2011Actions
Related to Foreman - Bug #1137: Host was deleted but facts are not gone.ClosedOhad Levy08/30/2011Actions
Actions

Also available in: Atom PDF