##// END OF EJS Templates
search-bar: forbid anonymous users to search
marcink -
r2776:5a351218 default
parent child Browse files
Show More
@@ -303,6 +303,8 b' class HomeView(BaseAppView):'
303 res.append(serialized_repo)
303 res.append(serialized_repo)
304
304
305 # TODO(marcink): permissions for that ?
305 # TODO(marcink): permissions for that ?
306 allowed_user_search = self._rhodecode_user.username != User.DEFAULT_USER
307 if allowed_user_search:
306 users = self._get_user_list(query)
308 users = self._get_user_list(query)
307 for serialized_user in users:
309 for serialized_user in users:
308 res.append(serialized_user)
310 res.append(serialized_user)
General Comments 0
You need to be logged in to leave comments. Login now