summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsalvis2009-02-20 21:46:00 (GMT)
committer salvis2009-02-20 21:46:00 (GMT)
commit99b378e57bf5cd12991517be03988ff8527dc84b (patch)
tree04414eae23d91e23d85f1045c7e609875dade970
parentf2c2333d6b7da287801b9f16ba95918011cd44a4 (diff)
#371446: Use priority for the 'deny' grant, too, reported by mizerydearia.
-rw-r--r--CHANGELOG.txt2
-rw-r--r--acl.module2
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 510816a..1807bd9 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -3,6 +3,8 @@ CHANGELOG for ACL for Drupal 6
acl 6.x-1.x-dev:
Enhancements:
- #369918: Add German translation.
+ Bugs fixed:
+ - #371446: Use priority for the 'deny' grant, too.
acl 6.x-1.x-BETA4 (2009-01-29):
Enhancements:
diff --git a/acl.module b/acl.module
index 0457b88..9f17058 100644
--- a/acl.module
+++ b/acl.module
@@ -132,7 +132,7 @@ function acl_node_access_records($node) {
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
- 'priority' => 0,
+ 'priority' => $grant['priority'],
);
}
}