Closed (fixed)
Project:
Nodeaccess
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Aug 2013 at 12:22 UTC
Updated:
10 Sep 2013 at 19:01 UTC
On my site a single node suddenly showed "access denied" for guests.
We could track down the bug. In the modules configuration I did not activate the roles "guest" and "authenticated users" in the allowed roles configuration.
In this case the module did not preserve the default grants for anonymous users, we fixed the bug in the attached patch. Thanks blackice2999!
| Comment | File | Size | Author |
|---|---|---|---|
| nodeaccess-preservegrants-ignored.patch | 2.29 KB | k4v |
Comments
Comment #1
blackice2999 commentedhi, i can confirm this ;)
The second condition will be never reached because the first condition fails, so we never comes to the preserve elseif.
Comment #2
blackice2999 commentedThe Patch is agains the dev version... so change the issue version to dev.
Comment #3
vlad.pavlovic commentedPushed to dev version. It will take some time before it is available for download. Thank you for your work on this.