Closed (fixed)
Project:
Location
Version:
5.x-2.7
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Aug 2007 at 06:04 UTC
Updated:
21 Mar 2008 at 22:11 UTC
Jump to comment: Most recent
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.
Comments
Comment #1
Anonymous (not verified) commentedThe 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.
Comment #2
bdragon commentedI refactored search out to its own module, so you can turn this off completely as necessary.
Comment #3
bdragon commentedhttp://drupal.org/node/64012 marked dupe.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.