Permissions Required for SQL Server Users for Easy Workflow
This section explains how to create users in a SQL Server Database and grant permissions to them depending upon the tasks that they must perform in Easy Workflow.
- Basic users are users who typically perform tasks using the Process Runner Excel Add-in, such as creating workflows, approving or rejecting work items, and creating reports. Basic users can also use the IEWF Configuration Tool to only map the database to the service. In this section, basicuser is an example of such a user.
- Advanced users are users who can archive the Easy Workflow database using the IEWF Configuration Tool or from the Easy Workflow Cockpit. In this section, advanceduser is an example of such a user.
- If the Easy Workflow database is already created, then the
db_ownerdatabase-level role suffices for the user. - If the user must create or update the Easy Workflow database, then the
dbcreatorserver-level role must be assigned to the user. - If the user must clear the database cache using the tool, then the
serveradminserver-role must be assigned to the user.
- If the Easy Workflow database is already created, then the
To create a user and grant permissions,
- Connect to the appropriate SQL Server using SQL Server Management Studio and create two users, basicuser and advanceduser. For information about how to create the users, see the Microsoft SQL Server documentation.
- For basicuser, perform the following steps:
- In the Object Explorer, expand Security > Logins.
- Right-click basicuser and select Properties. The Login Properties - basicuser window is displayed.
- Select User Mapping in the left pane and select the database that was created using the IEWF Configuration Tool from the list of databases that are displayed in the Users mapped to this login section. For example, if you have not edited the default name of the database,
INW_EWFDB, that was created using the tool, selectINW_EWFDBdatabase in the section. - In the Object Explorer, expand Databases, and select
INW_EWFDB. - Right-click
INW_EWFDB, and select Properties. The Database Properties-INW_EWFDB window is displayed. - Select Connect and Execute permissions.
- Similarly, for advanceduser, select the following permissions:
-
Connect, Execute, Select, and Delete for the
INW_EWFDBdatabase. -
Connect, Execute, Select, Insert, and Alter for the
INW_EWFDB_Arcdatabase.
-
Connect, Execute, Select, and Delete for the
You can now use the basicuser and advanceduser to perform the different Easy Workflow tasks.