By NickAllain on
I've got Drupal doing almost everything that I need it to do but I'd like to restrict certain content to certain users (specifically users with a .edu email address). I assume I need something like Advanced User but that doesnt seem to be ready for drupal 6.x and a content extension that can restrict based on user role.
Does anyone have any recommendations for how to attack this?
Comments
Node Access Example
I recently found this example that shows example code to perform node access restrictions. I was able to use this code and make a custom module to do some fancy access checking on blogs content types.
Using this sample and some further research, you could make a small module that fires on node access and checks the users email address top-level domain to grant/deny access.
Hope this helps~
The Cosmic Gift | Complete Computer Care | Team Hope