Posted by wulff on May 26, 2009 at 11:04am
Jump to:
| Project: | Nodequeue |
| Version: | 7.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
My work on #468136: Add test cases led me to this issue.
If you pass in a user account to nodequeue_queue_access(), the two user_access() checks are done against the currently logged in user and not the account you wish to check.
See attached patch.
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| nodequeue_user_access.patch | 813 bytes | Ignored: Check issue status. | None | None |
Comments
#1
Thanks for posting a patch -- Marking as needs review.
#2
Committed. Thanks!
#3
Automatically closed -- issue fixed for 2 weeks with no activity.