adding method allow_Access to protected_with_capabilities