Roles and Permissions Matrix
The Roles and Permissions Matrix pattern creates Activities that represent the system, functions and Classes that represent the roles and a diagram that uses relationships to associate the roles to the activities. A Relationship Matrix can be created to facilitate the visualization of the permissions and the location of gaps.

Figure 1. Shows a Relationship Matrix that allows an analyst to visualize the permission that are assigned between roles and Activities.

Figure 2. Shows an Activity diagram that relates Roles to the Activities they perform.
Discussion
The purpose of the pattern is to allow Business Analysts and other stakeholders to create a model of the System Activities and the Roles that perform these Activities. The permission is represented as a relationship between the Role and the Activity

The pattern can be used at any point during an initiative but is more commonly used during the analysis phase when an analyst is breaking down system functions to create a set of activities and wants to ensure that there is coverage of the system functions by the set of identified Use Case and their Scenarios.

The following is a list of some things you may want to do when working with this pattern.
·	Rename the diagram to suit the initiative
Rename the Activities and Classes add Properties and Notes to describe the Activities and Roles.
Create additional Activities and Classes to suit the initiative. 

The following is a list of some of the next steps available when applying the pattern.
·	Create a Relationship Matrix to visualize the permissions. Ensure the options to highlight missing column and row relationships is set. 
·	Create high quality documentation generated automatically from the model.
·	Create Discussions and Reviews and engage in Chat to collaborate with team members, Requirement owners, Product Managers and other stakeholders.
Reference
The following help topics will assist you learn about how to work with this pattern.
Roles and Permissions Matrix
Relationship Matrix
Business Analysis Body of Knowledge (BABOK)
Traceability Tools
Documentation

The following are some of the tools that will be helpful when working with this pattern.
Document Generator
The Document Generator is a powerful facility in Enterprise Architect that allows a Database Engineer or other stakeholder to create high quality corporate or technical documentation directly from the model, suitable for internal or external audiences. For more details see the Documentation help topic or the more general topic on Model Publishing.
Element Discussions
The Element Discussion facility is a fully featured collaboration tool allowing modelers and model viewers and reviewers to communicate with each other directly inside the repository. Modelers using the full client or occasional viewers using WebEA can both post and reply to discussions and communicate and engage in chat. For more details see the Element Discussions help topic.
Specification View
The Specification View can be used as a way of working with any element type in a spreadsheet or word process view. It is particularly useful when there are a large number of elements as is typically the case when describing a system of any appreciable size. For more details see the Specification View help topic.
Relationship Matrix
The Relationship Matrix provides a spreadsheet like view of two groups of elements and the relationships that exist between them. It can be a used as a powerful analysis mechanism to visually indicate how elements are related to each other and to discover which elements are missing relationships. For more details see the Relationship Matrix  help topic.
Traceability Window
The Traceability Window automatically displays the relationships that exist between Use Cases and other model elements including up-process and down-process elements. The traceability tree view can be conveniently expanded to see deeper relationships and elements displayed in the window can be located in all diagrams in which they appear. For more details see the Traceability Window  help topic.

© 2000 - 2018  Sparx Systems Pty Ltd.  All rights Reserved.