Install

Works with Drupal: ^8 || ^9 || ^10

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 23.26 KB
MD5: d16d0e3f17f1cab01090ba4c4954f3a0
SHA-1: 5c7cd860fb60e3b7025d0e918f945765309dc576
SHA-256: 31e1200ee5ce851b36748e3fef7ea964b43de135946002b396499d86feaf6a67
Download zip 32.97 KB
MD5: ae84e4a9a746fb129d6851368182a954
SHA-1: fede46be90094c3289f6be88f74e826437dd2275
SHA-256: bfda5c498722912c005d246f188748e9d5f587e8f8be47bf149ec4d113a32bd3

Release notes

The first alpha release of the new 2.0.x branch. Feedbacks are welcome.

Key changes:

  • Config nodeaccess.settings structure changed
  • Config schema added
  • Tests added
  • hook_update_N implementations added — for upgrading from the 8.1.x branch
  • New feature: search/load multiple users in one go, validations added to the grant form
  • Bug fixes

Note:

  • Granting access content to anonymous role is required to make this version work as expected
  • This version can not control the administrator role's access, -- administrators have the access to all nodes
  • This version does not have granular access control over node status (published/unpublished)

Contributors (18)

Aakansha Tyagi, Project Update Bot, Shashwat Purav, Suresh Prabhu Parkala, WagnerMelo, alison, bruno.bicudo, dineshreddymathuku, drupal.ninja03, erikaagp, greatmatter, jungle, kkasson, lucasbaralm, michelecris, nachosalvador, penyaskito, timodwhit

Changelog

Issues: 44 issues resolved.

Changes since 8.x-1.1:

Bug

  • #3309679 by greatmatter: Nodeaccess configuration suddenly failed
  • #3284355 by kkasson, jungle: Other modules' grants are deleted when changing nodeaccess grants

Feature

  • #3164991 by jungle, nachosalvador: Grant permissions by node type
  • #3318196 by jungle: Allow end users to search multiple users

Task

  • #3288798 by Project Update Bot, jungle: Automated Drupal 10 compatibility fixes
  • #3145629 by lucasbaralm, bruno.bicudo, Aakansha Tyagi, Suresh Prabhu Parkala, michelecris, penyaskito, alison, WagnerMelo, drupal.ninja03, jungle, Shashwat Purav: Fix Coding Standards
  • #3316343 by jungle, timodwhit, erikaagp: Refactor code and get rid of NodeGrantAccessCheck
  • #3236465 by jungle, timodwhit, alison: Improve issue 3145629 -- coding standards further
  • #3317699 by jungle: Remove 'priority' from settings
  • #3317700 by jungle: Remove 'preserve' from settings
  • #3317705 by jungle: Tweak keys of nodeaccess.settings and add missing schema
  • #3317710 by jungle: Rename ConfigForm to SettingsFrom and refactor it per config keys changes
  • #3317718 by jungle: Empty nodeaccess_update_8101()
  • #3317906 by jungle: Add a service to refactor the GrantForm and fix a bug via refactoring
  • #3317908 by jungle: Refactor nodeaccess_install()
  • #3317909 by jungle: Remove nodeaccess_node_access()
  • #3317912 by jungle: Refactor nodeaccess_node_access_records() and nodeaccess_node_grants()
  • #3317916 by jungle: Fix and refactor nodeaccess.module
  • #3247542 by jungle, alison: Add dependencies key (core 9.3+ compatibility)
  • #3317908 by jungle: Ininital bundles_roles_grants settings in nodeaccess_install()
  • #3317906 by jungle: Fix a typo in NodeAccessHelper
  • #3317710 by jungle: Fix CS violations
  • #3317710 by jungle: Update title of route nodeaccess.administration
  • #3317929 by jungle, dineshreddymathuku: Replace README.txt with README.md
  • #3317906 by jungle: Fix NodeAccessHelper and refactor GrantsFrom
  • #3317710 by jungle: Fix bugs in SettingsFrom and refactor NodeGrantPermissions
  • #3318032: Add tests for SettingsForm
  • #3247542 by jungle: Skip running testDynamicPermissions if Drupal core version < 9.3
  • #3247542 by jungle: Fix a CS violation in ::testDynamicPermissions()
  • #3318115 by jungle: Add tests for GrantsForm and fix a bug in its ::access
  • #3318146 by jungle: Add node access tests
  • #3318146 by jungle: Remove unexpected comments in ::testPublishedNodeAccessAuthenticated
  • #3317909 by jungle: Fix ::testPublishedNodeAccessAnonymous
  • #3318176 by jungle: Validate the input of search on the Grants tab page
  • #3318190 by jungle: Use condition groups to merge the two queries in NodeAccessHelper::loadUserGrant() into one query
  • #3318176 by jungle: Correct code in GrantForm:validateSearchUid
  • #3318202 by jungle: Throw an error when end users submit the Grants form with "Keep?" checked but none of View, Edit and Delete granted
  • #3317909 by jungle: Never let the anonymous have grants with realm nodeaccess_author
  • Revert "Issue #3317718 by jungle: Empty nodeaccess_update_8101()"
  • #3317718 by jungle: Implement hook_update_N() to update realms and migrate nodeaccess.settings
  • #3317912 by jungle: Avoid undefined "author" error
  • #3244977 by alison, jungle: Remove CHANGELOG.txt
  • #3320608: Adjust weights of form elements on the nodeaccess settings page
  • #3320612 by jungle: Move CRUD code of role related settings into the nodeaccess.helper service and imporive it
Created by: jungle
Created on: 3 Dec 2022 at 04:04 UTC
Last updated: 3 Dec 2022 at 04:04 UTC
Bug fixes
New features

Other releases