public function hasPermission($action, User $user = null) {
		return $this->getServiceContainer()->getFirewall()->hasPermission($this->getName(), $action, $user);
	}
public function hasPermission($action, User $user = null) {
		return $this->getServiceContainer()->getFirewall()->hasPermission($this->getName(), $action, $user);
	}
public function hasPermission ( $ action , User $ user = null ) { return $ this -> getServiceContainer ( ) -> getFirewall ( ) -> hasPermission ( $ this -> getName ( ) , $ action , $ user ) ; }
Shortcut for getting permission on the given action in this module

@param string $action
@param User $user
Shortcut for getting permission on the given action in this module