Lay the foundation for RBAC, catching up with develop branch.
Lay the foundation for RBAC, catching up with develop branch.
Add a way to assert user permissions as a header for the noop login
manager.
Merge remote-tracking branch 'origin/feature/rbac_clean' into feature/rbac_clean

Conflicts:
	src/ggrc/rbac/permissions_provider.py
	src/ggrc/services/common.py
50046751 50044969 Fixes and tests for RBAC enforcement on HTTP requests.
Merge branch 'develop' into feature/rbac_clean
Added filtering on __in queries so that linked objects outside of the
read permissions for the user generate a link but don't get expanded.
Merge branch 'develop' into feature/rbac_clean
Queries now filter by contexts, too, enforcing read permissions.
Fix query RBAC enforcement.
Merge branch 'develop' into feature/rbac_clean
Fix for undefined variable.
Fix for case when contexts for user is None, hence super user in that
context for that resource type.
Merge branch 'develop' into feature/rbac_clean
Committing interim to recover from laptop failure.
Merge branch 'develop' into feature/rbac_clean
Merge branch 'develop' into feature/rbac_clean
Adopt the migrations committed to develop. Also, Directive no longer has a
company field, drop the query test that references this field.
Merge branch 'develop' into feature/rbac_clean
Changes to make behave tests compatible with CI

* change default port to 9000 to not conflict with dev server
* update dev-requirements.txt to point at behave on Github
* shuffle common functionality into utils module to make tests
  compatible with newest behave