forked from eatvio/eatvio_app
fix: comments fixed, version changed
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user