Setting Up Roles
To configure the SAP Composite Application Framework Core (CAF Core) application to perform certain administrative tasks, create the roles CAFAdmin, CAFDeveloper and CAFUIAdmin. After role setup, you can assign the roles to the dedicated users.
This step is an automated process within SAP NetWeaver, which is executed with a new installation of CAF Core. However, you must configure the CAFAdmin, CAFDeveloper and CAFUIAdmin roles manually when upgrading from previous versions of CAF Core.
1. Launch the User Administrator tool within SAP NetWeaver:
http://<host>:<port>/useradmin.
Remember to change <host> and <port> with the host machine and server names.
2. From the left-hand side pane, choose Roles.
3. To create the role CAFAdmin, choose the Create New icon.
4. Enter CAFAdmin and description (optional).
5. From Available Actions, select caf.auth and choose Add.
The action appears in the Selected Actions window.
6. Choose Save.
CAFAdmin appears in the Roles list. If not:
○ Enter the role name next to New Search and select the icon to search.

By configuring CAFAdmin, you can permit configuration of data source assignments of entity services, as well as the import of external services.
7. To create the role CAFUIAdmin, repeat steps 3-6 above, except in step 5 select com.sap.caf.rt.caf.admin.
This allows the configuration of user interface (UI) components.
1. In the User Administrator tool under Roles, select the role you want to assign.

Multiple selections are allowed.
2. Select the icon Assign User To…
3. In the dialog that appears, select the “plus” icon to add a user.
4. Enter the name or any piece of information about the user you want to select and choose Search.
5. Select the user from the list and choose Select.
6. Choose Continue.
The user is assigned to the role.

The role CAFDeveloper is used for the service browser, without this role the logon to the service browser is not possible.
