Getting the can_Edit function to work.

Signed-off-by: Ronald Huereca <ronalfy@gmail.com>