[support] Change home page from story to page?

Stefan Borchert stefan at borchert.cc
Tue Aug 21 18:57:59 UTC 2007


sander-martijn schrieb:
> Anyone know of a way to query whether the user has edit rights on the 
> node (no matter what their role) instead of whether they're in a 
> particular role?  Then I could rewrite this in a way that is more 
> maintainable.
>   
As I wrote in my previous post: node_access('update', $node) will check 
if you (the current user) has the right to update (eq. "edit") the given 
node.

hth,

 Stefan


More information about the support mailing list