function masquerade_handler_field_user::access in Masquerade Extras 6.2
Same name and namespace in other branches
- 6 masquerade_views/handlers/masquerade_handler_field_user.inc \masquerade_handler_field_user::access()
- 7.2 masquerade_views/handlers/masquerade_handler_field_user.inc \masquerade_handler_field_user::access()
- 7 masquerade_views/handlers/masquerade_handler_field_user.inc \masquerade_handler_field_user::access()
Prevent users that don't have permission to masquerade from accessing this function.
File
- masquerade_views/
handlers/ masquerade_handler_field_user.inc, line 58 - Views field handler.
Class
- masquerade_handler_field_user
- Field handler that allows a link to be generated for a user so you may masquerade as them.
Code
function access() {
return user_access('masquerade as user');
}