R 
		
				
			
		ragtek
Guest
Where is the best place, to check the permissions for own search handlers?
In the search controller it's only checking for the global search permissions
	
	
	
		
That's why i think that i have to check them in getSearchFormControllerResponse.
Is this ok, or is there a other place?
				
			In the search controller it's only checking for the global search permissions
		PHP:
	
			if (!XenForo_Visitor::getInstance()->canSearch())
		{
			throw $this->getNoPermissionResponseException();
		}That's why i think that i have to check them in getSearchFormControllerResponse.
Is this ok, or is there a other place?
 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		