Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
user.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jan 2009 at 22:49 UTC
Updated:
3 Jan 2009 at 16:53 UTC
i wanted to test node_access so i created a user without access content permission
but it seamed that user_access('access content', $account) returned TRUE.
so it wrote a patch which creates a test of user_access
i have to do something wrong
| Comment | File | Size | Author |
|---|---|---|---|
| user_access_unexpect.patch | 1.07 KB | dawehner |
Comments
Comment #1
dawehnereven user_access('access content', $no_access, TRUE) returns TRUE
Comment #2
dawehnerok it seems that every user is authenticated and every authenticated user has access content by default on a fresh test