Entity Access by role is a handy feature. This is often done by modules via permissions, but is not always present. In #2969589: How to configure so that RAC only controls who can _edit_ content, the ability for anonymous access was brought up Advanced Access didn't have a solution for this. In #2969621: Include a Anonymous Access provider that functionality was developed such that granting access to anonymous users is supported. RAC should extend this functionality in order to provide per role access to entities based on the entities type or bundle.

Comments

richgerdes created an issue. See original summary.

richgerdes’s picture

With patch in #2969621-14: Include a Anonymous Access provider this should now be possible. The attached patch provides this function. Once the solution for #2969621: Include a Anonymous Access provider lands, this patch can be fully tested and merged.

richgerdes’s picture

Status: Active » Needs review
StatusFileSize
new2.17 KB
new5.03 KB

Adding a follow up to #2969621-16: Include a Anonymous Access provider, which added a setting to control record generation for unpublished content. This patch needed to be adjusted to work with the new functionality.

richgerdes’s picture

StatusFileSize
new735 bytes
new5.02 KB

I found a small bug which caused the form to be wiped and the results not to be saved, following adding the unpublished functionality. The attached patch fixes this.

  • richgerdes authored 3959cbb on 8.x-2.x
    Issue #2974418 by richgerdes: Provide Per Entity Type/Bundle Role Access...
richgerdes’s picture

Status: Needs review » Fixed

This has been committed and pushed.

Status: Fixed » Closed (fixed)

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