mirror of
https://github.com/veops/oneterm.git
synced 2025-10-26 17:10:23 +08:00
feat(backend): implement layered session timeout and enhanced download control for web proxy
This commit is contained in:
@@ -163,6 +163,10 @@ func (m *AuthorizationMatcher) matchSelector(ctx context.Context, selector model
|
||||
}
|
||||
|
||||
switch selector.Type {
|
||||
case "":
|
||||
// Empty selector type means no restriction - skip this selector check
|
||||
return true
|
||||
|
||||
case model.SelectorTypeAll:
|
||||
return true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user