How to deny Anonymous read/view access to G2 module embedded in Drupal

dbmathis

Joined: 2003-12-10
Posts: 52
Posted: Mon, 2006-06-05 17:29

I have searched through the administration options in G2 and Drupal for about 3 days now looking for a way to restrict viewing / read access to the G2 Drupal module for Anonymous users. I have setup my drupal site as a family website and have it configured so that only registered users can access modules installed on the site. This works great for all of the Drupal modules except the G2 module. All but G2 allows me to restrict access though the administration of Drupal. This means that people can't access the modules, and they do not appear as a link in Drupal navigation block either.

Am I missing something here? I would like for only registered users to see my gallery. I guess this wil not be happening now that I have posted this here

Thanks for any help.


Gallery version (not just "2"): Gallery 2.1 Blackjack
Module / Theme name & version: Drupal version 4.7.1 / gallery module 4.7.0 / Matrix Theme
PHP version (e.g. 4.3.11): 5.1.2
PHPInfo Link (see FAQ): http://www.tmfamily.info/phpinfo.php
Webserver (e.g. Apache 1.3.33): Apache/2.2.0 (Win32) DAV/2 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_autoindex_color
Database (e.g. MySql 4.0.11): MySQL 5.0.20
Activated toolkits (e.g. NetPbm, GD): NetPbm, GD, ffmepg
Operating system (e.g. Linux): Windows XP Professional
Browser (e.g. Firefox 1.0): IE 6 sp2

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Mon, 2006-06-05 21:53

How are you restricting access to the other modules in drupal? (I can see how you can restrict certain parts of them, but the whole thing?)

To restrict access to your photos, you just need to set up the permissions to only allow "Registered Users" to view photos in exactly the same way as for a standalone Gallery2 installation. Your drupal users will be part of this group and so should have access -- anonymous users will not.

 
dbmathis

Joined: 2003-12-10
Posts: 52
Posted: Tue, 2006-06-06 01:06

Good point