remove "By location" search tab

mariuss - August 26, 2007 - 06:04
Project:location (API, module)
Version:5.x-2.7
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed
Description

The "By location" search tab shows up in all cases for the admin user, even if the module is not configured to do that.

The Location module is used by other modules (like See Map) and in some cases this "By location" tab does not make sense. If user location is disabled and no content type collects location, then there is nothing you can search by location.

#1

anonymous5190 - September 22, 2007 - 16:12

The admin user (user id 1) generally has all permissions granted, regardless of what you configured. This is partly for convenience and also to avoid situations where a site admin can lock themselves out of their own site by screwing up permissions.

so user id 1 will always be able to search by location no matter if you remove that permission, but other users will not.

#2

bdragon - March 7, 2008 - 22:02
Status:active» fixed

I refactored search out to its own module, so you can turn this off completely as necessary.

#3

bdragon - March 7, 2008 - 22:09

#4

Anonymous (not verified) - March 21, 2008 - 22:11
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.