Bug #6831
When creating a new organization as an admin, the switcher doesn't list it
Description
- Create new organization via UI
- Once you're done, click the Org dropdown widget * The new org is not displayed/listed
Related issues
Associated revisions
Fixes #6831 - expire topbar cache for admin on taxonomy updates
(cherry picked from commit 8fabe6618b36ca3d232e8241749405ed8217c656)
History
#1
Updated by Dominic Cleal almost 8 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 8 years ago
- Related to Bug #6065: Inverting the admin flag has no effect on menu cache added
#3
Updated by Dominic Cleal almost 8 years ago
- Bugzilla link set to 957151
#4
Updated by Dominic Cleal almost 8 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 8 years ago
- Target version set to 1.7.5
#6
Updated by Tomer Brisker almost 8 years ago
- Status changed from New to Assigned
- Assignee set to Tomer Brisker
#7
Updated by The Foreman Bot almost 8 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 8 years ago
- Legacy Backlogs Release (now unused) set to 10
#9
Updated by Anonymous almost 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 8fabe6618b36ca3d232e8241749405ed8217c656.
Fixes #6831 - expire topbar cache for admin on taxonomy updates