Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents


WSO2 App Factory comes with four application user roles by default. They are AppOwner, Developer, QA and DevOps. These roles manage the app development lifecycle stages. For more information about the default lifecycle stages and roles, see Default Application Lifecycle.

You can customize these existing roles, define additional roles and set permissions to them using the <ApplicationRoles> element in <AF_HOME>/repository/conf/appfactory/appfactory.xml file.

Sample configuration

Following sample code shows how to add a new application role to App Factory:


The elements of the sample configuration are explained below. You can use this information to edit the file according to your requirements.

XML elements of the sample code

Property NameDescriptionTypeDefault ValueFixed ValuesMandatory/Optional
<ApplicationRoles> Define set of application roles.   Mandatory
<Role>Role tag list all the available roles in App Factory.String  Mandatory

Detail name of Role. This is the role name that is being displayed within WSO2 App Factory.

String  Mandatory

Define set of permissions of mentioned Role. Each permissions are separated by comma.

Below shows the permissions that are allowed within WSO2 App Factory. You can use the permissions within your roles as your preference.




String  Mandatory