mirror of
https://codeberg.org/git-pages/git-pages.git
synced 2026-08-21 11:26:04 +00:00
Record git repo URL in the principal when forge auth is used.
Resolves: https://codeberg.org/git-pages/git-pages/issues/167
This commit is contained in:
@@ -111,6 +111,9 @@ func (record *AuditRecord) DescribePrincipal() string {
|
||||
record.Principal.GetForgeUser().GetHandle(),
|
||||
record.Principal.GetForgeUser().GetId()))
|
||||
}
|
||||
if record.Principal.GetRepoUrl() != "" {
|
||||
items = append(items, record.Principal.GetRepoUrl())
|
||||
}
|
||||
if record.Principal.GetCliAdmin() {
|
||||
items = append(items, "<cli-admin>")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user