It would be incredibly useful to be able to make a view such as admin/content with the ability to show only nodes that the user can update. With the core admin/content page, you have a giant list of nodes you can view, but cannot edit.

This functionality would add a View filter to narrow a listing of content down to only what the user can edit.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anonymous’s picture

vilepickle created an issue. See original summary.

Anonymous’s picture

We're using this in a project within a custom module at the moment, just figured it would be useful.

Anonymous’s picture

Status: Active » Needs review
Anonymous’s picture

kristiaanvandeneynde’s picture

While I agree that this would be a great functionality to have, I have to play the devil's advocate here: Would this not better be a core feature? Where you would be able to set the query metadata 'op' under Advance > Query options to specify that you're building a view of 'update' nodes?

Anonymous’s picture

I agree that this could be in core for normal nodes as well. The patch I have here has some group specific stuff in it though with the 'gid', so even though a core version of this would be cool, wouldn't the group implementation still be necessary? I guess I don't know enough about why there's a core "View" version of this filter and no update one.

kristiaanvandeneynde’s picture

Group implements the node access system (grants/access records). That system gets added automatically to views by core. So if we provide the functionality in core, Group will benefit from it automatically.

GaëlG’s picture

kristiaanvandeneynde’s picture

Component: Group Node (gnode) » Code
Assigned: » Unassigned
Status: Needs review » Closed (works as designed)