Disable OAuth2 apps when their owner is removed from the Local Site

Review Request #9033 — Created June 26, 2017 and submitted

Information

Review Board
release-3.0.x

Reviewers

OAuth2 applications are now disabled when their owner is removed from
the Local Site the application is assigned to. The application will be
reassigned to one of the LocalSite administrators and set to disabled,
which will (once authentication is implemented) prevent the Application
from being used for authentication.

  • Ran unit tests.
  • Ran the evolution.
Description From Last Updated

W293 blank line contains whitespace

reviewbotreviewbot

W391 blank line at end of file

reviewbotreviewbot

W391 blank line at end of file

reviewbotreviewbot

Needs from __future__ import unicode_literals

daviddavid

Module docstring?

daviddavid

Docstring?

daviddavid

E303 too many blank lines (3)

reviewbotreviewbot

Period outside of the ), I think.

daviddavid
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

brennie
Review request changed
brennie
brennie
brennie
brennie
brennie
david
  1. 
      
  2. reviewboard/site/__init__.py (Diff revision 7)
     
     
    Show all issues

    Needs from __future__ import unicode_literals

  3. reviewboard/site/signal_handlers.py (Diff revision 7)
     
     
    Show all issues

    Module docstring?

  4. reviewboard/site/signal_handlers.py (Diff revision 7)
     
     
    Show all issues

    Docstring?

  5. 
      
brennie
brennie
Review request changed
Change Summary:

Addressed David's issues & simplified

Checks run (1 failed, 1 succeeded)

flake8 failed.
JSHint passed.

flake8

brennie
david
  1. 
      
  2. reviewboard/site/signal_handlers.py (Diff revision 10)
     
     
    Show all issues

    Period outside of the ), I think.

  3. 
      
brennie
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.0.x (185651c)