Project

General

Profile

Bug #6831

When creating a new organization as an admin, the switcher doesn't list it

Added by Dominic Cleal almost 5 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

  • Create new organization via UI
  • Once you're done, click the Org dropdown widget * The new org is not displayed/listed

Related issues

Related to Foreman - Bug #6065: Inverting the admin flag has no effect on menu cacheClosed2014-06-04

Associated revisions

Revision 8fabe661 (diff)
Added by Tomer Brisker almost 5 years ago

Fixes #6831 - expire topbar cache for admin on taxonomy updates

Revision 5aa76f93 (diff)
Added by Tomer Brisker over 4 years ago

Fixes #6831 - expire topbar cache for admin on taxonomy updates

(cherry picked from commit 8fabe6618b36ca3d232e8241749405ed8217c656)

History

#1 Updated by Dominic Cleal almost 5 years ago

Admin users should have top bar cache cleared on org/location creation. At the moment, via #6065, only users directly associated to a taxonomy have caches swept - this should also include User.only_admin.

#2 Updated by Dominic Cleal almost 5 years ago

  • Related to Bug #6065: Inverting the admin flag has no effect on menu cache added

#3 Updated by Dominic Cleal almost 5 years ago

  • Bugzilla link set to 957151

#4 Updated by Dominic Cleal almost 5 years ago

https://github.com/theforeman/foreman/blob/develop/app/models/taxonomy.rb#L127 is the issue, it should be (users + User.only_admin).uniq or something

#5 Updated by Dominic Cleal almost 5 years ago

  • Target version set to 1.7.5

#6 Updated by Tomer Brisker almost 5 years ago

  • Status changed from New to Assigned
  • Assignee set to Tomer Brisker

#7 Updated by The Foreman Bot almost 5 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/1675 added
  • Pull request deleted ()

#8 Updated by Dominic Cleal almost 5 years ago

  • Legacy Backlogs Release (now unused) set to 10

#9 Updated by Anonymous almost 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF