Application Roles Configuration Files
A number of configuration files are used to control how application roles are used.
The names of the files must be as follows:
{ "name": "admin", "description": "administrator role",ex "applications": { "/apps/rolesShowcase": { "name": "rolesShowcase", "accessLevel": "admin" } } }
The structure of the directory of configuration files is important. There is a separate .json configuration file for each application or component.
- These need to match the path specified for the application or component in the role. So if the role refers to an application with the path /applications/myWorkApp, the configuration files for that application need to be in the applications folder and named as myWorkApp.xx ( xx could be .rcd.json or _admin.rac.json for example.).
- The same applies for components. If the path is /components/component1 the files need to be located under the components directory.
- You can create extra levels of structure, so if you want :/components/core and /components/extra you could create those folders and then specify the appropriate path in the role. The path must match the folder structure.
Application authors should provide a default configuration (.rcd.json) along with the application. Customised configurations are provided by deploying a new configuration file associated with a particular application/component.
For example myWorkApp can have a default configuration of myWorkApp_rcd.json.
To provide a customization of the myWorkApp deploy a customized configuration with the name matching to the ApplicationName_accesslevel _rac.json.