Posted by tobiass on May 5, 2007 at 1:27pm
5 followers
Jump to:
| Project: | Bibliography Module |
| Version: | 7.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I would like to publish some articles in my biblio with attached files which should be only downloadable for a defined user group. Is there a way to realize this?
Comments
#1
#2
http://drupal.org/node/215808
rjerome could you have a look at it please and give your opinion concerning a 'download link for own biblio' option?
Thanks for your time!
pht3k
#3
#4
That should be fairly easy. By the way, what are your plans for updating to 6.x?? Virtually all my time and effort is going into 6.x these days, so that's where you will find most of the cool new features :-(
Ron.
#5
I just added this change to the 5.x-dev version. When you see a build dated Feb. 27, 2009, give it a try and let me know if it solves your problem.
#6
oh sweet thanks a lot!
i did consider a couple of months ago an upgrade to D6 but there were some modules i need that were not available yet.
anyway there's is no only-D6 modules i need...
there is only one more thing i would love to be able to do but it's more a 'by design' problem. I dont expect at all that you spend some time on this. It would be to be able to share the citekey between subsites of a multi-sites install. It dont work actually because, from what i understand, in the final it search for the node id. so when i try to use , it brings me a node from the actual subsite. I would have to share the node table. I tried and it didn't worked. I know i could be able to it via domain access module but i face an other problem when using it so it's not ok for my needs.
So, until there is a simple working 'sharing node between table' module, i will have to live with that.
thanks a lot again for your time.
biblio is really a GREAT module and there is only few maintainers who spend some time like you do to maintain and improve their module, and listen carefully to what users have to say and request.
Thumbs up!
#7
Many thanks for including this feature.
#8
thanks again; it works perfectly!
#9
Ok, I'll call this issue fixed then.
#10
Automatically closed -- issue fixed for 2 weeks with no activity.
#11
Is this functionality available in D7?
I have a role that is the only one with capabilities to see the "Private" File field I have added to the biblio conten type.
Users in that role can see the file in the List view and in the node view, which is what I want. Now the anonymous user doesn't see the file in the List view (good); however, when clicking to see the node view the file is listed there and they are able to download it even though is a private file.
I can't have that because of copyright issues.
Is there something I am missing??
Thank you
#12
No, you're not missing anything, this is a function of the fact that file attachments are now "CCK Fields" and in the "full node" view, the display of the file attachment is more or less out of my hands (I say more or less, because anything is possible). This raises an interesting point because with the old "Upload" module, you could define permissions to determine who gets to see the file, but to be perfectly honest, I don't know if you can do that with the "file fields". I'll see what I can find out.
Ron.
#13
It would appear that the "Field Permissions" module would resolve this issue. I'm not sure why this wasn't built into core??
#14
Thanks a lot. I tried the "Field Permissions" module. It does indeed hide the Private file field in the node view. However, if an anonymous user knows the path they can download the file without being logged in. But that is another different issue.
Thank you for your prompt response and for yor support in the Biblio module.
#15
I think that would be true for any file in the "public" file space. Perhaps you should serve these restricted files from the "private" file space and then the regular Drupal permission checks will be enforced.
If you haven't already seen these pages, they may help...
http://drupal.org/documentation/modules/file
http://drupal.org/node/1006692
Ron.
#16
Thanks Ron. The field was already from the "private" file space; however, it was not really private because one could still download it if he knew the path. I solved it by implementing the hook_file_download like one of the comments had it http://drupal.org/documentation/modules/file#comment-4104464