Add authorization framework for gRPC methods

This commit is contained in:
Theodor S. Midtlien
2026-09-16 10:37:59 +02:00
parent cacdb50c0e
commit bbf28a40ed
8 changed files with 354 additions and 159 deletions
+5
View File
@@ -2752,6 +2752,11 @@ func (s *Server) SessionHolder() (ipcauth.Principal, bool) {
return principal, true
}
func (s *Server) OwnsProfile(id ipcauth.Identity, handle string) bool {
// TODO
return false
}
func persistLoginOverrides(activeProf *profilemanager.ActiveProfileState, managementURL string, preSharedKey *string) error {
if preSharedKey != nil && *preSharedKey == "" {
preSharedKey = nil