Created Zowe Desktop applications for automating administrative tasks, have designed these applications and was able to get them added to the Zowe Desktop. Now want to figure out and understand how to make sure these applications are locked down only to specific users. Need help in getting the security piece set up for these applications and some future applications in Zowe Desktop.
In Zowe, role-based access control (RBAC) is used to apply application lockdown security. Zowe Desktop security is driven by z/OSMF SAF which means that user access is controlled by adding users to the appropriate z/OSMF roles via the IZUUSER or IZUADMIN groups in ACF2. By default, RBAC is disabled and all authenticated Zowe users can access all dataservices. However, with role based security enabled you can control which apps are accessible (visible) to all Zowe desktop users, and which are accessible only to individual users. Please reference Controlling access to apps for more information.
Enable RBAC, set the components.zss.dataserviceAuthentication.rbac and components.app-server.dataserviceAuthentication.rbac variables to true in the Zowe configuration file.
In the user's ID directory path, in the \pluginStorage directory, create \org.zowe.zlux.bootstrap\plugins directories. For example: <zowe.workspaceDirectory>/app-server/ZLUX/pluginStorage/org.zowe.zlux.bootstrap/plugins
In the /plugins directory, create an allowedPlugins.json file. You can use the default allowedPlugins.json file as a template by copying it from the following location:
<zpwe.runtimeDirectory>/components/app-server/share/zlux-app-server/defaults/ZLUX/pluginStorage/org.zowe.zlux.bootstrap/plugins
Open the allowedPlugins.json file and specify apps that user can access. For example:{ "allowedPlugins": [ { "identifier": "org.zowe.appA", "versions": [ "1.1" ] }, { "identifier": "org.zowe.appB", "versions": [ "*" ] },}
Notes:
Restart the app server.