Fix console permission check