With CA PM 3.1, CA PC apps can make direct request to DA REST webservices. REST requests to urls like “/pc/da/rest/…” will be forwarded to the Data Aggregator through a proxy capability.
By default, only administrators (UserName=admin) are authorized to perform these requests. Apps that are run by a non-admin users will receive returncode 403/Forbidden.
Authorize CA PC users for DA REST requests in Apps
On CA PC server, run the following steps
- mysql netqosportal
- insert into general (attribute, value) values ('daProxyValidUsers', 'admin,<user1>,<user2>…');
Restrict CA PC App usage
Administrators may want to restrict the usage of some CA PC apps to specific users (by role or name). At present, this should be controlled by the app itself.
- the app has context parameters such as UserName or UserRoleName
- there is code in the app that disables buttons and only proceeds if the criteria are met
- for example:
However, any user will see the app view if he has access to the parent dashboard or context page tab.