access control to restrict who can use the trackback on the node.

CommentFileSizeAuthor
#7 Picture 1_39.png11.55 KBmarcoBauli

Comments

marcoBauli’s picture

yes, i'd find this usefull too, as basically i need admins/editors to have possibility to track back, but prefer to avoid this to authenticated users for semplicity sake.

Would that be hard to implement? Thank you

zorac’s picture

Is this meaning access control to send trackback ping?

marcoBauli’s picture

exactly yes. And exclude to non-abilitated users the view of the "Trackback" collapsible field in node submission form. Thx

zorac’s picture

Assigned: Unassigned » zorac

Okay, I try.

marcoBauli’s picture

many thanks man

no coder here, just advenced drupal user, but of course i'll help as i can testing and giving feedback ;)

cheers

zorac’s picture

This feature has been included in development snapshots.
Please test it.

marcoBauli’s picture

StatusFileSize
new11.55 KB

installed on Drupal 4.7.2 flawlessly without any warning.

Now the "Send Trackbacks" text area does not show up for users without the 'send trackbacks' permission. The collapsible "Trackbacks" field containing the "Allow trackbacks" checkbox still shows up though (see screenshot).

Maybe it would be usefull to completely hide all trackback settings from node form for users without the permission? This would avoid confusion on less techie sites, and lot of "what's that trackback thing?" questions IMO.

Just my $0.02

@zorac: thanks for dedicating time to this!

zorac’s picture

"Allow trackbacks" checkbox allows to *RECEIVE* trackbacks, not sending.

If this checkbox didn't show, the created node can receive trackbacks, or not ?

marcoBauli’s picture

If this checkbox didn't show, the created node can receive trackbacks, or not ?

i fugure 2 paths:

1. 90% happy admins: by the time the content type we are referring to is trackback-enabled at /settings/content-types/x, it's supposed at a minimum to receive trackbacks. Guess for most of admins would be fine to have checkbox checked by default also for users who do not have the 'send trackbacks' permission, and him and editors manually tweak later users posts accessing the "Trackback" collapsible form (checkbox to receive, text area to send trakbacks) on node form.

If the site is too big to moderate users posts manually, or users are net savy enough to understand what trackbacks are about, then admin can just give trackbacks permission to all users, saving him the hard job. If i could code, this probably would be my choice in terms of results-efforts.

2. 99.9% happy admins: add a setting to the backend of trackback, and let admins choose to enable or disable trackbacks by default, eventually by trackback-enabled content type.

More work, but few people probably would really need this.

zorac’s picture

IMO, if user didn't understand about trackback, the created node can *NOT* recevie trackbacks by default. Because he isn't able to control the received trackbacks.

marcoBauli’s picture

humm.. that's true in a personal blogs site a la blogger.com or similar. Less true where the blog is an admin-moderated area of a bigger site..

solution 2 above would likely suit more needs then. Just my $0.02

zorac’s picture

umm...I cannot image your solutions, sorry.

To begin with, is this permission "send trackbacks"?
Currently, node authers admin trackbacks with his nodes. Users without this permission can admin the trackbacks, or not?

thepanz’s picture

In latest 6.x-1.x-dev version there is a sort of Trackback permissions system based on roles.
Give it a try and let me know!

@MarcoBauli: are YOU that Marco-Bauli? How do you do? Bye! :)

thepanz’s picture

Version: 4.7.x-1.x-dev » 6.x-1.x-dev
Assigned: zorac » Unassigned
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.