Currently, when a user does not have access to create or edit a feed, they are denied access if they click on the feed link at the bottom of each feed item.

The proper behavior would be to remove the feed link instead, so that users without feed access will not see the link at all.

Also, feed teasers are still visible to users who have no access rights. When they click on the feed link, they get access denied, but the feed teaser already shows all the critical information. The proper behavior would be to hide feed nodes from users that do not have access rights.

CommentFileSizeAuthor
#3 access_rights_sf.jpg30.66 KBzoon_unit
#2 links_screengrab2.jpg47.57 KBzoon_unit

Comments

m3avrck’s picture

Can you please clarify *which* links are being shown to users they shouldn't?

zoon_unit’s picture

StatusFileSize
new47.57 KB

Sorry, I haven't been checking my issue updates lately. I'm currently using an older version of simplefeed (waiting on the database upgrade feature) so maybe this has been fixed already. See attached image for greater clarification of links.

zoon_unit’s picture

StatusFileSize
new30.66 KB

Further clarification: Here are my access rights for admin and anonymous.

m3avrck’s picture

A few notes...

Update SQL is here: http://drupal.org/project/simplefeed -- the 1.0 update stuff is for versions AFTER 1.0 is released, till then there will not be any provided database updates... only from 1.0 to 1.1 or 2.0 -- be sure to run that sql if you want to make it to 1.0.

You can use http://api.drupal.org/api/function/hook_link_alter/5 to remove any links on teaser if you want.

The access denied does look like a bug and I'll see what I can do.

m3avrck’s picture

Status: Active » Fixed

this is fixed -- simplefeed should not be overriding view access since it's not a node access module. everything works like it should, if you need to restrict access try a node access module.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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