What's the relationship between user_access and hook_perm in drupal?

Posted by wamp on Stack Overflow See other posts from Stack Overflow or by wamp
Published on 2010-05-13T06:07:35Z Indexed on 2010/05/13 6:14 UTC
Read the original article Hit count: 93

Filed under:
|

It seems both of these functions are used to check whether a user has some previledge.

And the difference isn't obvious to me.

Can someone elaborate?

© Stack Overflow or respective owner

Related posts about drupal

Related posts about php