# Summary

Nodeaccess is a Drupal access control module which provides view, edit and delete access to nodes. Users with the 'grant node permissions' permission will have a grant tab on node pages which allows them to grant access to that node by user or role. Administrators can set default access controls per content type, and also define which roles are available to grant permissions to on the node grants tab.

# Project URL

https://www.drupal.org/project/nodeaccess

# Where is the code?

https://git.drupalcode.org/project/nodeaccess

# Estimated completion date

# Dependencies

# Who's doing the port?

https://www.drupal.org/u/alisonjo315 -- and YOU!

# What help do they need?

Help with open D8 issues!
https://www.drupal.org/project/issues/nodeaccess?text=&status=Open&prior...

# D8 roadmap

Plan for stable release: https://www.drupal.org/project/nodeaccess/issues/3130777

# Background and reference information

Comments

legaudinier created an issue. See original summary.

mukila’s picture

Hi,
I would like to port Node Aceess module to drupal 8. Just wanted to know if anyone already started on this?

Thanks,
Mukila

mukila’s picture

Status: Needs work » Active
xem8vfdh’s picture

@mukila, based on the crickets, I'm guessing the answer is no. Go for it! Keep us posted.

Michael-IDA’s picture

@mukila,

Go, do, don't wait on someone else...

Even if it's duplicate effort, you'll learn a lot ...

yogeshmpawar’s picture

I am working on the Drupal 8 port, if anybody started working please let me know otherwise i will proceed to complete drupal 8 port.
once some part of this module done i will update the github url for the project.

yogeshmpawar’s picture

Assigned: Unassigned » yogeshmpawar
yogeshmpawar’s picture

Issue summary: View changes
mukila’s picture

Hi vlad.pavlovic,

I have ported Drupal 8 version of node access module. Please refer https://www.drupal.org/sandbox/mukila/2938883. Could you please add me as a co-maintainer, so I can commit my initial work and further tweaks. Please review the module and let me know your thoughts.

mukila’s picture

Issue summary: View changes
Status: Active » Needs review
mmjvb’s picture

Status: Needs review » Needs work

With the work done by @mukila the correct status is Needs work for this issue. See the project description!
Use the issue queue of the Nodeaccess itself to request work from the owner.

yogeshmpawar’s picture

Assigned: yogeshmpawar » Unassigned
davidcz’s picture

I don't know how to contribute code changes, but I found a bug that I wanted documented for somebody who can make the necessary change.

In /src/Form/GrantsForm.php, I changed this line:

\Drupal::entityTypeManager()->getAccessControlHandler('node')->writeGrants($node);

to this:

\Drupal::entityTypeManager()->getAccessControlHandler('node')->writeGrants($node, $grants);

so that the grants are immediately saved without having to go through and manually rebuild grants.

mmjvb’s picture

Status: Needs work » Needs review

@Davidcz :Code changes can be contributed through the issue queue of the project itself. Suggest to scan that queue and add your suggestion to an appropriate issue or create a new one.

This issue is about porting it to D8, not about the working of the project itself. With a beta, Status should be needs review.

alison’s picture

Issue summary: View changes
elusivemind’s picture

Status: Needs review » Fixed
avpaderno’s picture

I am giving credits to the users who participated in this issue.

Status: Fixed » Closed (fixed)

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