fix: comments fixed, version changed

This commit is contained in:
misha
2026-11-10 12:35:09 +03:00
parent 8c33f033ff
commit 8d4cabf5c6
3 changed files with 4 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ abstract class InsightsService {
@Query('intra_date') String? intraDate,
});
/// Чужие графики целиком (клиент консультанта, публичный профиль).
/// Чужие графики целиком (клиент консультанта; остальным 403).
@GET('/api/profile/insights/{slug}')
Future<InsightsResponseModel> getInsightsBySlug({
@Path() required String slug,

View File

@@ -260,8 +260,8 @@ class _ProfileScreenState extends State<ProfileScreen> {
padding: const EdgeInsets.only(bottom: 16),
child: _badges(state),
),
// Доступ решает сервер: консультант видит клиента, пока консультация
// не завершена, остальные — только публичные профили; иначе 403 и блок скрыт.
// Доступ решает сервер (UserPolicy::viewInsights): консультант видит
// клиента, пока консультация не завершена; всем остальным 403 и блок скрыт.
if (!state.profile.isBlockedByMe &&
!state.profile.isBlockedByAuthor)
Padding(

View File

@@ -1,6 +1,6 @@
name: eatvio_app
description: A new Flutter project.
version: 1.3.71+160
version: 1.3.72+161
publish_to: "none"
environment: