Project

General

Custom queries

Profile

Actions

Bug #960

closed

User without admin rights is not able to delete reports

Added by Marcello de Sousa almost 14 years ago. Updated almost 11 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
#1

Updated by Ohad Levy almost 14 years ago

  • Target version changed from 0.3 to 0.4
#3

Updated by Ohad Levy almost 14 years ago

  • Status changed from New to Feedback
  • Assignee changed from Ohad Levy to Marcello de Sousa
#7

Updated by Ohad Levy over 13 years ago

  • Subject changed from User without admin rights is not able to detele reports to User without admin rights is not able to delete reports
#8

Updated by Marcello de Sousa over 13 years ago

  • Assignee changed from Marcello de Sousa to Ohad Levy
#9

Updated by Ohad Levy over 13 years ago

  • Target version deleted (0.4)
#10

Updated by Benjamin Papillon over 12 years ago

  • Status changed from Feedback to Assigned
#11

Updated by Anonymous over 11 years ago

  • Description updated (diff)
#12

Updated by Dominic Cleal about 11 years ago

  • Status changed from Assigned to Feedback
  • Assignee deleted (Ohad Levy)
#13

Updated by Dominic Cleal almost 11 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF