Hello. Are the maintainers of this module planning on providing integration with the Entity Reference module? Currently it looks like References is on a path to being deprecated and replaced by Entity Reference.

Comments

danielb’s picture

I guess we'll have to support whatever they migrate their users to.

I maintain five 'reference' related modules, and at least two others that integrate with references. I think using the relation module would be good too.

I can't make a generic "entity access entity reference" as of Drupal 7 though, since the access system currently only applies to nodes.

danielb’s picture

Title: Node Access User Reference support for Entity Reference » Support for Entity Reference
Status: Active » Needs review
StatusFileSize
new4.84 KB

I quickly knocked up a patch to support entityreference, it is against the current 7.x-3.x repository.

Please try it out.

danielb’s picture

because of the way entityreference works you might have to go into the config twice before seeing the settings of this module?
nope it's fine

pyrello’s picture

@danielb - Thanks for the quick response. I will try out this patch as soon as I have a spare moment and report back my findings.

pyrello’s picture

For anyone else that is testing this out, please note that you must enable Entity Reference prior to enabling nodeaccess_userreference.

pyrello’s picture

I have not run into any issues with this patch so far.

danielb’s picture

Status: Needs review » Fixed

OK I'll commit that then.

Status: Fixed » Closed (fixed)

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