diff --git a/pkg/controller/photo/user_gallery.go b/pkg/controller/photo/user_gallery.go index b9e3ef5..72c2e92 100644 --- a/pkg/controller/photo/user_gallery.go +++ b/pkg/controller/photo/user_gallery.go @@ -98,7 +98,7 @@ func UserPhotos() http.HandlerFunc { if isOwnPhotos || isGrantee || currentUser.HasAdminScope(config.ScopePhotoModerator) { visibility = append(visibility, models.PhotoPrivate) } - if isOwnPhotos || models.AreFriends(user.ID, currentUser.ID) { + if isOwnPhotos || models.AreFriends(user.ID, currentUser.ID) || currentUser.HasAdminScope(config.ScopePhotoModerator) { visibility = append(visibility, models.PhotoFriends) }