Project

General

Profile

Actions

Bug #3829

closed

Unable to delete a user when that user have created hostgroups, reports etc

Added by Petter Hassberg over 10 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

A user which have created systems and hosgroups in the foreman cannot be deleted without changing owners etc for these hostgroups first.

For example:
  • A user have been created in the foreman UI.
  • The user have created several hostgroups and systems.
  • The user have quit and should no longer have access
  • Upon deleting user, the following error message gets trhown in the UI:
    User Name is used by HOSTGROUP/dev
    User Name is used by HOSTGROUP/dev/RHEL
    User Name is used by HOSTGROUP/dev/RHEL/foreman
    User Name is used by HOSTGROUP/dev/RHEL/smart-proxy
    
  • and the user does not get deleted.

The user should be deletable and what ever resources associated should be left intact.

Actions #1

Updated by Dominic Cleal over 9 years ago

  • Status changed from New to Resolved

Reported resolved via IRC, thanks.

Actions

Also available in: Atom PDF