Setting access control > System Architect Catalog Manager > Working with catalogs > Assigning macro
  
Assigning macro
For convenience, SACM provides the Macro Writer role. You can select which macros to assign to this role, and in turn, assign the role to users. It has no diagram or definition permissions assigned to it, meaning that when you assign the Macro Writer role, you do not at the same time assign permissions to other objects unintentionally. The role enables the VBA Editor menu command in System Architect, which is needed to work with macros.
The steps below are presented as an example. You can assign any macro to any role, except to the Administrator, which cannot be edited and which has full macro permissions enabled by default.
To assign a macro to the Macro Writer role
1 Expand the root Encyclopedia Permissions node, which contains all encyclopedia and System Architect objects that you can assign to roles.
2 Click on the Macro Permissions node. In the list view, this node displays all available macros.
3 Right-click one or macro permissions from the list view and select Copy.
4 Click the root Roles node. In the list view, this node displays default SACM roles.
5 Right-click on the Macro Writer role, and select Paste. The Macro Writer role can now run the VBA Editor menu command in System Architect and execute the macro that you assigned it.
The section below is optional. It describes how to view the macros assigned to a role, and how to tell whether a macro was assigned to or inherited by the role.
To view macros assigned to a role
1 Click the root Roles node.
2 Click the Encyclopedia Permissions node.
3 Click the Macro Permissions node.
As an example, the Data Modeler role below shows the macros assigned to it. A macro with a solid blue check indicates that permissions to it were assigned directly to the role. A macro with a solid brown check indicates that the macro permission was inherited from another role, through a role expression, such as Macro Writer role, as is the case shown here.
Note Any System Architect sessions that are running while you edit a role needs to be restarted for the edits to take effect.
See also
Working with catalogs