Simple forum software for building great communities.
Go to file
Alexander Skvortsov a2832af01f Only search users via rest API if user has permission (#73)
Closes https://github.com/flarum/core/issues/3070

If the user doesn't have permission to search users, there will currently be browser errors, as the current implementation will still attempt to search and autocomplete. In this PR, we check for permission before searching. The dropdown will still support autocomplete of users currently participating in the discussion.
2021-10-13 14:57:45 -04:00
extensions/mentions Only search users via rest API if user has permission (#73) 2021-10-13 14:57:45 -04:00