#GH-83 portal.set_registry_record: refactor into multiple tests and add docstrings
Merge remote-tracking branch 'origin/master' into api.roles
Instead of having an "adoption" module and a function "api.adopt", move role adoption into an "api.env" module as "api.env.adopt_roles()". It's now narratively documentated too, with passing doctests and unit tests.