mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-12 17:10:55 +00:00
Co-authored-by: bircni <bircni@users.noreply.github.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
16 lines
477 B
Go
16 lines
477 B
Go
// Copyright 2026 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package audit
|
|
|
|
// ScopeType identifies the unit an audit event belongs to (for filtering in UI).
|
|
// Target-specific details live in Metadata, not as typed objects in the audit package.
|
|
type ScopeType string
|
|
|
|
const (
|
|
ScopeSystem ScopeType = "system"
|
|
ScopeUser ScopeType = "user"
|
|
ScopeOrganization ScopeType = "organization"
|
|
ScopeRepository ScopeType = "repository"
|
|
)
|