| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
For now, policy file unaccessible due to access permission leads to
silent failure without any notifictaion. Side effects of it are also
affected by policy caching and might be quite confusing, like periodic
disappearing of Horizon panels. Proposed patch added handling of such
errors.
Closes-bug: #1836390
Change-Id: I0d67b6e7c2dcaa63d6bb807f013e5e7334efc715
|
|
|
|
| |
Change-Id: I71c6a322739fa3b361eadd93afb635cb467aaf58
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of having a library have a global (and not garbage
collectable) file cache that is only used by enforcers and
no other code have the file cache be per-enforcer so that it
can be garbage collected when the enforcer drops from the
scope its used in.
This also removes one more usage of global state with instance
specific state, which makes things easier to test and easier
to isolate problems in (the less things that can be 'touched
at a distance' the better).
Change-Id: I208b08ae00e0337b594ece0f2b335d4de9f7392b
|
|
read_cached_file and delete_cached_file are only used in
oslo.policy. isolate the functions there so we can depreate
fileutils.
Change-Id: Ibbcda87eba6e21ace8904e1fb4c700e0790fb477
|