refactor: disabled project policy won't cache non-403 error
Description
Follow up for this dicussion: !1396 (comment 1771646133)
Related Issues
Related to #1218 (closed)
How has this been tested?
I only tested that the happy path still works.
Edited by Tomas Vik