<commit_before>.. doctest docs/specs/avanti/roles.rst
.. _avanti.specs.roles:

=========================
User roles in Lino Avanti
=========================

.. doctest init:

    >>> import lino
    >>> lino.startup('lino_book.projects.adg.settings.doctests')
    >>> from lino.api.doctest import *

    
Menus
=====

>>> rt.login('robin').show_menu()
... #doctest: +ELLIPSIS +NORMALIZE_WHITESPACE +REPORT_UDIFF -SKIP
- Contacts : Persons, Organizations, Clients, My Clients, Households, Partner Lists
- Office : My Comments, My Notification messages, My expiring uploads, My Uploads, Data problems assigned to me, My Excerpts
- Calendar : Calendar, My appointments, Overdue appointments, Unconfirmed appointments, My tasks, My guests, My presences, My overdue appointments
- Polls : My Polls, My Responses
- Activities : My Activities, Activities, -, Activity lines, Pending requested enrolments, Pending confirmed enrolments, Course planning
- Configure :
  - System : Site Parameters, Users, Help Texts
  - Places : Countries, Places
  - Contacts : Organization types, Functions, Categories, Ending reasons, Household Types, List Types
  - Office : Comment Types, Upload Types, Excerpt Types
  - Clients : Client Contact types
  - Career : Languages, Education Types, Education Levels, Job Sectors, Job Functions, Work Regimes, Statuses, Contract Durations
  - Trends : Trend areas, Trend stages
  - Polls : Choice Sets
  - Calendar : Calendars, Rooms, Priorities, Recurring events, Guest Roles, Calendar entry types, Recurrency policies, Remote Calendars
  - Activities : Topics, Timetable Slots
- Explorer :
  - System : Authorities, User types, content types, Notification messages, Changes, Phonetic words, Data checkers, Data problems, All dashboard widgets
  - Contacts : Contact Persons, Partners, Clients, Household member roles, Household Members, List memberships
  - Office : Comments, Uploads, Upload Areas, Excerpts
  - Clients : Client Contacts, Common contact types
  - Career : language knowledges, Trainings, Studies, Job Experiences
  - Trends : Trend events
  - Polls : Polls, Questions, Choices, Responses, Answer Choices, Answer Remarks
  - Calendar : Calendar entries, Tasks, Presences, Subscriptions, Event states, Guest states, Task states
  - Activities : Activities, Enrolments, Enrolment states, Reminders
- Site : About

>>> rt.login('martina').show_menu()
... #doctest: +ELLIPSIS +NORMALIZE_WHITESPACE +REPORT_UDIFF -SKIP
- Office : My expiring uploads, My Uploads, Data problems assigned to me, My Excerpts
- Activities : My Activities, Activities, -, Activity lines, Course planning
- Site : About


>>> rt.login('laura').show_menu()
... #doctest: +ELLIPSIS +NORMALIZE_WHITESPACE +REPORT_UDIFF -SKIP
- Office : My Notification messages, My expiring uploads, My Uploads
- Calendar : My appointments, Unconfirmed appointments, My tasks, My guests, My presences, My overdue appointments
- Activities : My Activities, -, My courses given<commit_msg>fixed test failure known client contacts<commit_after>.. doctest docs/specs/avanti/roles.rst
.. _avanti.specs.roles:

=========================
User roles in Lino Avanti
=========================

.. doctest init:

    >>> import lino
    >>> lino.startup('lino_book.projects.adg.settings.doctests')
    >>> from lino.api.doctest import *

    
Menus
=====

>>> rt.login('robin').show_menu()
... #doctest: +ELLIPSIS +NORMALIZE_WHITESPACE +REPORT_UDIFF -SKIP
- Contacts : Persons, Organizations, Clients, My Clients, Households, Partner Lists
- Office : My Comments, My Notification messages, My expiring uploads, My Uploads, Data problems assigned to me, My Excerpts
- Calendar : Calendar, My appointments, Overdue appointments, Unconfirmed appointments, My tasks, My guests, My presences, My overdue appointments
- Polls : My Polls, My Responses
- Activities : My Activities, Activities, -, Activity lines, Pending requested enrolments, Pending confirmed enrolments, Course planning
- Configure :
  - System : Site Parameters, Users, Help Texts
  - Places : Countries, Places
  - Contacts : Organization types, Functions, Categories, Ending reasons, Household Types, List Types
  - Office : Comment Types, Upload Types, Excerpt Types
  - Clients : Client Contact types
  - Career : Languages, Education Types, Education Levels, Job Sectors, Job Functions, Work Regimes, Statuses, Contract Durations
  - Trends : Trend areas, Trend stages
  - Polls : Choice Sets
  - Calendar : Calendars, Rooms, Priorities, Recurring events, Guest Roles, Calendar entry types, Recurrency policies, Remote Calendars
  - Activities : Topics, Timetable Slots
- Explorer :
  - System : Authorities, User types, content types, Notification messages, Changes, Phonetic words, Data checkers, Data problems, All dashboard widgets
  - Contacts : Contact Persons, Partners, Clients, Household member roles, Household Members, List memberships
  - Office : Comments, Uploads, Upload Areas, Excerpts
  - Clients : Client Contacts, Known contact types
  - Career : language knowledges, Trainings, Studies, Job Experiences
  - Trends : Trend events
  - Polls : Polls, Questions, Choices, Responses, Answer Choices, Answer Remarks
  - Calendar : Calendar entries, Tasks, Presences, Subscriptions, Event states, Guest states, Task states
  - Activities : Activities, Enrolments, Enrolment states, Reminders
- Site : About

>>> rt.login('martina').show_menu()
... #doctest: +ELLIPSIS +NORMALIZE_WHITESPACE +REPORT_UDIFF -SKIP
- Office : My expiring uploads, My Uploads, Data problems assigned to me, My Excerpts
- Activities : My Activities, Activities, -, Activity lines, Course planning
- Site : About


>>> rt.login('laura').show_menu()
... #doctest: +ELLIPSIS +NORMALIZE_WHITESPACE +REPORT_UDIFF -SKIP
- Office : My Notification messages, My expiring uploads, My Uploads
- Calendar : My appointments, Unconfirmed appointments, My tasks, My guests, My presences, My overdue appointments
- Activities : My Activities, -, My courses given
{'fraction_non_alphanumeric': 0.10758436351486803, 'fraction_numerical': 0.0, 'mean_word_length': 4.658790170132325, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 39, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '635475', 'n_tokens_mistral': 1817, 'n_tokens_neox': 1681, 'n_words': 618}