.. include:: /Includes.rst.txt .. _task-1791600050: ===================================== Task: Access of the core as contracts ===================================== Description =========== How an actor relates to an employee (``AccessScope``), the roles and companies of a user (``Membership``), who sees an employee (``EmployeeVisibility``) and who holds a role (``RoleHolders``) are contracts of the core, with contract tests. The acting person is an ``Actor``; the enums ``Role`` and ``Relationship`` moved to the contracts of the identity module. Impact ====== None for users. Package authors type-hint the contracts in ``WebVision\Adsum\Core\Identity\Contract``. .. index:: package:adsum-core