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.
|
|
Posts: 189
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.
Posts: 52
Good point