title: Firebase deleted user is able to change data. How can I fix this without modifying application code?
body: <p>I'm make an app with a Firebase Auth, but when I delete or when I disable an account I need make a signOut() manually (I control this with a user reload), if I don't, the user can keep uploading data. How I can fix this without the app code?</p>
  
  <p><strong>Firebase rules</strong></p>
  
  <pre><code>{
    "rules": {
      "users": {
        "$uid": {
          ".read": "auth != null &amp;&amp; auth.uid == $uid",
          ".write": "auth != null &amp;&amp; auth.uid == $uid"
        }
      }
    }
  }
  </code></pre>
  
  <hr>
  
  <p><strong>App Code - How I detect it</strong></p>
  
  <pre><code>if(user != null) user.reload().addOnCompleteListener(this, new OnCompleteListener&lt;Void&gt;() {
              @Override
              public void onComplete(@NonNull Task&lt;Void&gt; task) {
                  if(!task.isSuccessful()) {
                      String exc = task.getException().getMessage();
                      Log.e("FireBaseUser", exc);
                      auth.signOut();
                  }
              }
  });
  </code></pre>