- Renamed `CountSessionsByUser` to `CountActiveSessionsByUser` and added session status filtering - Added user and device session limit, with policy handling when exceeding the limit - Introduced device eviction policy: If the maximum number of devices is exceeded, the oldest session will be evicted using the "evict_oldest" policy - Modified `LastActive` update logic to ensure accurate session activity time |
||
|---|---|---|
| .. | ||
| db.go | ||
| label.go | ||
| label_file_binding.go | ||
| meta.go | ||
| obj_file.go | ||
| role.go | ||
| searchnode.go | ||
| session.go | ||
| settingitem.go | ||
| sshkey.go | ||
| storage.go | ||
| tasks.go | ||
| user.go | ||
| util.go | ||