mirror of
https://github.com/flarum/core.git
synced 2025-08-13 03:44:32 +02:00
fix: prevent users from seeing their own flags (#4167)
This commit is contained in:
@@ -144,7 +144,7 @@ class IncludeFlagsVisibilityTest extends TestCase
|
||||
'user_with_general_permission_sees_where_unrestricted_tag' => [2, [6, 7, 8]],
|
||||
'user_with_tag1_permission_sees_tag1_flags' => [3, [1, 2, 3, 4, 5]],
|
||||
'normal_user_sees_none' => [4, []],
|
||||
'normal_user_sees_own' => [5, [2, 7, 4, 8]],
|
||||
'normal_user_does_not_see_own' => [5, []],
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user