I created a view with many fields of one node type, one of the fields is the delete link, but I just want to show the delete link only to the author of this node, those who are not author should not see the delete link
How can I do it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you have permissions (admin/user/permissions) set up so that only the author of the node can delete it, Views will automatically recognize that and hide the delete link for users without permission to delete the node.
In short: Make sure your permissions are set correctly at admin/user/permissions