You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check currently will recurse indefinitely until MAX_DEPTH is reached if no access can be found for an access check. Instead, permify should track if a cycle is found, and if so, deny the check request.
Cycles are bad, and they shouldn't happen, but checking permissions when one exists should fail gracefully and not take excessive compute.
It would also be useful if these cycles can be reported (maybe just via a log) for downstream diagnostics.
Check
currently will recurse indefinitely until MAX_DEPTH is reached if no access can be found for an access check. Instead, permify should track if a cycle is found, and if so, deny the check request.Cycles are bad, and they shouldn't happen, but checking permissions when one exists should fail gracefully and not take excessive compute.
It would also be useful if these cycles can be reported (maybe just via a log) for downstream diagnostics.
Reproducible via this test under
internal/engines
The text was updated successfully, but these errors were encountered: