Skip to content
  • Vivek Das Mohapatra's avatar
    Invalidate the rails cache for project meta xml in show_project_meta · 4a9a792c
    Vivek Das Mohapatra authored
    The project model code path for this invalidates the cache before
    returning.
    
    Users now have different views of project meta config (references to
    inaccessible projects, which were not permitted at all before, are now
    elided to "HIDDEN" for users with insufficient access): This means
    that the code path which provides the meta config to osc must also
    invalidate the cache.
    
    It's not clear that this particular config should be cached at all.
    Possibly it should include the user context in the cache key instead
    but in any case this is the least invasive way to make sure osc
    returns the correct information for now.
    4a9a792c