======================= Wednesday, July 8, 2015 ======================= .. currentmodule:: lino.core.site Here is another (hopefully the last) API optimization for the new class-based permissions system: Instead of setting a flag :attr:`Site.enable_user_roles` to `True` **and** writing a :meth:`setup_user_profiles` method, we now simply set :attr:`user_types_module ` to the name of such a module. :mod:`lino.projects.std.roles` contains a default set of user profiles.