Make request object available to JSExtension instances

Review Request #8595 — Created Jan. 5, 2017 and submitted — Latest diff uploaded

Information

Djblets
master
c20f607...

Reviewers

By making the request object available, the extension subclass can e.g. get
hold of the current user which can be useful.

Tested that getting a user's groups as discussed in this mail thread works.

Unit tests pass.