Add protection against a null LocalSiteProfile.permissions.

Review Request #4955 — Created Nov. 14, 2013 and submitted — Latest diff uploaded

Information

Review Board
release-1.7.x

Reviewers

Add protection against a null LocalSiteProfile.permissions.

It appears that it's possible a LocalSiteProfile.permissions to be None,
and in this case, permission lookups will fail. We're now more careful
about this, and default it to {} when processing.

Unit tests passed.

Tested manually with hard-coding None.