I tried using Secure site to limit access to one directory of my site. After deciding to turn off the module and remove it, the pages originally blocked, plus newly created pages, are unavailable to anonymous visitors. They get an access denied message.

I am willing to make changes to the db to remove any remnants of the module. Can you describe an approach to ensuring that it is completely uninstalled?

The site is in development and has very few users at this time.

I used Secure Site 5.x-1.2 and Drupal 5.10

Comments

junyor’s picture

Have you tried clearing your site's cache? If you have the devel module installed, I believe you can use it to clear your cache. If not, empty the cache* tables in your database. Also, make sure the anonymous role has the "access content" permission (assuming you want anonymous users to access your site, which seems to be the case).

urbanrob’s picture

Clearing the cache with devel did not change the issue. Anonymous role can access content and can still access most content on the site. It cannot access newly added content.

junyor’s picture

Secure Site couldn't be causing that. Did you also test any node access control modules like taxonomy access, tac lite, etc.? One of those is the most likely culprit.

urbanrob’s picture

Project: Taxonomy Access Control » Secure Site
Version: 5.x-1.x-dev » 5.x-1.2

Yes, I tried Taxonomy Access. It was previously uninstalled and deleted. (Using the devel variable editor I do see that a list of securesite_ variables are still available, even after emptying the cache.)

I just deleted the taxonomy that had been associated with Taxonomy Access (the terms were not applied to any nodes) and cleared the cache again. No change.

junyor’s picture

Project: Secure Site » Taxonomy Access Control
Version: 5.x-1.2 » 5.x-1.x-dev

There's your problem. Taxonomy Access Control must have messed up the default access control for anonymous users. Try going to /admin/content/node-settings and rebuilding permissions.

In 5.x-1.2, Secure Site does not delete variables on uninstall. This functionality has been added to the next release.

urbanrob’s picture

Project: Secure Site » Taxonomy Access Control
Version: 5.x-1.2 » 5.x-1.x-dev

Thank you. "/admin/content/node-settings and rebuilding permissions" worked.

junyor’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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