Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cache User#is_admin? & User#is_staff?
is_admin? is called in many places, often 3 and more times per action. Co-authored-by: Ana María Martínez Gómez <ammartinez@suse.de>
- Loading branch information