What product/components do you use and which version/fix level are you on?
latest
Is your question related to the free trial, or to a production (customer) instance?
free trail
What are you trying to achieve? Please describe it in detail.
We are trying to give the permission for the user to access the specific application that is hosted on cumulocity IoT. We don’t want the user to see the cockpit or the adminstritive applications on cumulocity. We were unable to achieve this by the Roles option given in the cumulocity. Is there a procedure to restrict the user only to access the specific application?.
Can we also host the application we built using application builder on another sever?
Do you get any error messages? Please provide a full error message screenshot and log file.
Have you installed all the latest fixes for the products and systems you are using?
Cumulocity has the concept of users and roles. You can define roles in the Administration section under Accounts. Roles are basically a set of permissions such as Read/Write/Create/Update on certain API Endpoints but also which Application they are allowed to use:
Users can be assigned to roles. With that concept you can influence what users can see. If you create a user that has no role with the application access to cockpit, this user can not see the cockpit etc.
If you need to give access to application created using application builder, then you need to select application builder and your custom app both from “application access” section while assigning role to application(refer above screenshot shared my @Murat_Bayram)
If you would like to host app created using application builder to another server then you need to install application builder in your target server first and then you can migrate app using Cumulocity Migration Tool.
the mentioned approach works !
However i am not given more choices of applications that i have created to be able to select as default application as shown below
AND i do not have others rights given to the user
THEN I do not see this application in Default Application
AND if i try to directly use the URL to login then it forbids my access
If your app (customer-demo) created with option 1 then your app will not be visible in default application list. Since its running in application builder context.
If you grant application access to “application builder” and “Customer-demo” then you can access your app via URL
for example, https://myurl.com/apps/app-builder/index.html#/application/appId
You can select “application builder” as default application in this case.
If your app created using option 2, then your app will be visible in default app list, and you can access app like any other cumulocity app.
For example: https://myurl.com/apps/app-contextPath/index.html
The actual intention of the external apps was to point to a third party system and not to point to some Cumulocity app with a few parameters.
And entering the domain of a cumulocity tenant shouldn’t directly forward you to an external system from my point of view.
how and where (User Interface) to spin up existing app created under application builder and clone the existing application using Option 2 where i do not know the clone URL