-
Notifications
You must be signed in to change notification settings - Fork 9
Policy Expired Hook, empty policy time gap #28
Comments
currently, the policy will keep on updating, the expire hook will not run at all. |
policy cache should not depends about the expired hook, it should depends on the refresh mechanism. |
we should not assume policy will not expire... |
I did not assume policy will not expire.... policy expiration is depends on Athenz server, we need to set it correctly anyway. I think user need to pay attention on policy refresh duration otherwise the policy cache maybe insecure enough for their use. |
We even the expire hook runs, this will be a problem. |
So it will keep retrying to refresh policy anyway. |
continue in: AthenZ/athenz-authorizer#3 |
athenz-authorizer/policy/daemon.go
Lines 173 to 176 in b56348e
issue
Update()
call to keep the policy valid anyway, we don't need this logic here.The text was updated successfully, but these errors were encountered: