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
When loading the same policy with 586a20f and HEADSCALE_EXPERIMENTAL_POLICY_V2=1 it also loads without error/warning. The policy is no longer valid as user1 does no longer exist (and policy was not updated to user1@).
Expected Behavior
Error out on loading the policy as user1 can no longer be used to refer to a user and no entry in the hosts section exists that could match otherwise.
Steps To Reproduce
Load the above policy with policy v2 enabled (HEADSCALE_EXPERIMENTAL_POLICY_V2=1 )
Is this a support request?
Is there an existing issue for this?
Current Behavior
This policy loads fine with Headscale 0.25 (
user1
has to exist as user):When loading the same policy with 586a20f and
HEADSCALE_EXPERIMENTAL_POLICY_V2=1
it also loads without error/warning. The policy is no longer valid asuser1
does no longer exist (and policy was not updated touser1@
).Expected Behavior
Error out on loading the policy as
user1
can no longer be used to refer to a user and no entry in thehosts
section exists that could match otherwise.Steps To Reproduce
Load the above policy with policy v2 enabled (
HEADSCALE_EXPERIMENTAL_POLICY_V2=1
)Environment
Runtime environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: