Would it be possible to restrict a custom link to the owner of the node? For http://letsmakerobots.com/ we would like a "blog this" link on robots, but it is only possible to blog your own project (by design), so I need to keep the link from showing up if the node doesn't belong to you.

Is that possible, or could it perhaps be added as a possibility?

Comments

zilla’s picture

not sure if it helps, but the friend module in drupal6 does this - it shows link for each node (in blocks too) so that a user can click and it automatically identifies the user (logged in) who clicked and cuts to createcontent/blog for the specific user (and inserts the relative link to the item being written about) - perhaps you could look over the code he's using to do this...

skizzo’s picture

Version: 5.x-1.3 » 6.x-1.4
Component: User interface » Code
Category: support » feature

Would it be possible to add this as a D6 feature? My use case: a Custom Link to node/[nid]/delete so that the node's author (which has permission to "delete own Nodetype content") can remove the node. It works nicely, only problem is that everybody sees the link, even if it will result in "access denied" for everyone but the author. Note that the Friend module has been unpublished. Also, I am using the words "author" and "owner" interchangeably... Thank you.

skizzo’s picture

Status: Active » Closed (duplicate)

I am closing this as the requested feature can be implemented with Custom Links / Rules integration