[chore] No sigs for retrieving instance actor

As a possible path towards resolving #1186, this removes the signature
check on the instance actor. Also adds a test to check authentication
for a user other than the instance actor to ensure we don't poke a big
hole into that check.
This commit is contained in:
Daenney 2025-06-03 19:11:07 +02:00
commit e65bda768c
6 changed files with 120 additions and 4 deletions

View file

@ -72,3 +72,12 @@ func mapGet(m map[string]any, keys ...string) (any, bool) {
}
return nil, false
}
func InstanceActor() string {
a := GetHost()
if a == "" {
a = GetAccountDomain()
}
return a
}