mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-09 13:36:07 +09:00
* Decouple hide_permissions and can_always_access * Introduce 13 new permission keys for Client and Hook * Create a new `has_permission` function in Twig and start using it * Created 5 new permission keys for Currency * Remove unused logMock * Implemented per-request caching for staff permissions * Decouple hide_permissions and can_always_access * Introduce 13 new permission keys for Client and Hook * Create a new `has_permission` function in Twig and start using it * Created 5 new permission keys for Currency * Remove unused logMock * Implemented per-request caching for staff permissions * Created 3 new permission keys for System * Return a more helpful exception message * Make permission errors return HTTP 403 instead of 401 * Created 2 new permission keys for Redirect * Renamed the keys to keep in line * Fixed tests * Add manage_settings permission key to Redirect * Refactor API authentication flow and improve token handling * Enforce `client.view` and refactor staff cache --------- Co-authored-by: Adam Daley <admdly@users.noreply.github.com>