diff --git a/cmd/server/pactasrv/user.go b/cmd/server/pactasrv/user.go
index 54f05b3..40cebfd 100644
--- a/cmd/server/pactasrv/user.go
+++ b/cmd/server/pactasrv/user.go
@@ -168,8 +168,9 @@ func (s *Server) userDoAuthzAndAuditLog(ctx context.Context, targetUserID pacta.
if actorInfo.UserID == targetUserID {
as.isAuthorized = true
as.authorizedAsActorType = ptr(pacta.AuditLogActorType_Owner)
+ } else {
+ as.isAuthorized, as.authorizedAsActorType = allowIfAdmin(actorInfo)
}
- as.isAuthorized, as.authorizedAsActorType = allowIfAdmin(actorInfo)
default:
return fmt.Errorf("unknown action %q for user authz", action)
}
diff --git a/frontend/assets/css/overrides.css b/frontend/assets/css/overrides.css
index 6876964..a0dded6 100644
--- a/frontend/assets/css/overrides.css
+++ b/frontend/assets/css/overrides.css
@@ -26,4 +26,8 @@ div.p-toast {
display: inline-block;
font-size: 0.75rem;
white-space: pre-wrap;
+}
+
+.p-message-wrapper .p-message-icon, .p-message-wrapper .p-message-close {
+ flex-shrink: 0;
}
\ No newline at end of file
diff --git a/frontend/components/form/FieldHeader.vue b/frontend/components/form/FieldHeader.vue
index 095fdb6..d7a2d18 100644
--- a/frontend/components/form/FieldHeader.vue
+++ b/frontend/components/form/FieldHeader.vue
@@ -24,7 +24,7 @@ const helpTextTextClass = computed(() => helpTextExpanded.value ? 'mb-2' : 'h-0'