Project

General

Profile

Bug #1456

Changing admin username ?

Added by Alexandru S. over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Authentication
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Hello,

I've recently set up foreman and while playing with it, I added LDAP authentication and changed the admin username to my LDAP username, after this reports and builds fail with the following error:
Failed to set Build for myserver.mydomain.local due to:undefined method `allowed_to?' for nil:NilClass
or
Failed to process report for myserver.mydomain.local due to:undefined method `allowed_to?' for nil:NilClass

Maybe it would be best to disable this 'feature' for the moment, or add support for the change.

Foreman version: latest git revision

Thanks,
Herk.

Associated revisions

Revision 48be0b11 (diff)
Added by Ohad Levy over 7 years ago

fixes #1456 - renaming the admin account should not be allowed

History

#1 Updated by Ohad Levy over 7 years ago

  • Category set to Authentication
  • Assignee set to Ohad Levy
  • Target version set to 1.0

#2 Updated by Ohad Levy over 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF