Fix authorization for disabled document