Closed (fixed)
Project:
Field Collection Views
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
31 Dec 2011 at 06:16 UTC
Updated:
14 Jul 2015 at 10:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
blenny commentedComment #2
blenny commentedComment #3
g089h515r806 commentedI think this does not matter.
Comment #4
blenny commentedIs it possible to hide the links from other users? Only the content owner should see the add/edit/delete links.
Comment #5
g089h515r806 commentedI think it could be done in template file of views.
It is possible.
Comment #6
miiimoooMaybe if the edit, delete links were implemented as views field(s) there could be a check like in field_collection:
field_colection.module,866
and a views modifier setting to enable the Add link with code like:
same, 901
Then it could limit display of the links to users who have permission. This would be a great addition to this module.
Great work BTW!
Comment #7
Sylense commentedAs a quick fix I was able to do this by simply using css to set the links to display none based on a context of the user role
Comment #8
g089h515r806 commentedIt seems that field collection module will improve Add/edit/delete links.
Comment #9
Canton32 commentedHas anyone confirmed a fix for this i have the same problems. And please could you explain in layman terms as im a newbie
I'm surprised that this module didn't honor the permissions from the core of Drupal admin/people/permissions:Node (content type permissions)
Other than that its an amazing module. Its so easy to implement.
Thanks in advance
Comment #10
haopei commentedHi Sylense,
What is the code for this quick fix?
Comment #10.0
haopei commenteddjsfhasdbfhsjb
Comment #11
lazly commentedI confirm this bug, subscribe
Comment #12
neerajskydiver commentedThe problem is fixed using the patch.
What I did is remove the Global text fields and add PHP fields instead to check the user access to the links and marked the hide if empty check-box. Secondly in the table view format settings marked the HIDE EMPTY COLUMN option which hides the whole column if a user don't have access to the links.
Comment #13
neerajskydiver commentedI have fixed this in latest Dev Version. You will have to revert default view manually to see changes. Add, Edit and Delete Links now have there own handlers.