mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
searches need authorization as they are not working without user id in context
This commit is contained in:
parent
ab5d308caa
commit
aa870b5020
@ -299,10 +299,10 @@ export default shield(
|
||||
{
|
||||
Query: {
|
||||
'*': deny,
|
||||
searchResults: allow,
|
||||
searchPosts: allow,
|
||||
searchUsers: allow,
|
||||
searchHashtags: allow,
|
||||
searchResults: isAuthenticated,
|
||||
searchPosts: isAuthenticated,
|
||||
searchUsers: isAuthenticated,
|
||||
searchHashtags: isAuthenticated,
|
||||
embed: allow,
|
||||
Category: allow,
|
||||
Tag: allow,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user