Assigning access to a service
Procedure to assign access to multiple namespaces of a service.
Procedure
- In the navigation bar, click Library > Services. The Manage service library is displayed.
- In the overflow menu of the service, click Assign access.
- In the Assign access dialog box, select the namespaces. You can select a single or multiple namespaces to which the user has access.
- Click Assign.
Scenarios
- You can set or change a single or multiple valid namespaces to a service. The valid namespaces are those which the user has access to.
- A change in service namespace reflects in all its versions too.
- A service with multiple namespaces can be deployed only in any of the user accessible namespaces to which a service belongs.
- Example: A service
Sbelongs to namespacesN1,N2, andN3. UserUhas access toN2,N3,N4. Allowed namespaces for deployment areN2andN3.
- Example: A service
- For a service, removal (multiple namespaces), change (single namespace) or add (Global to single or multiple namespaces) is allowed if the namespace of the associated service instance is present in the new namespace list.
- Example 1: If service
S1(globally accessible) is deployed in namespacesN1andN2(one service instance inN1and one inN2) then you can allow to update the namespaces ofS1only if it includesN1andN2. That is,S1can be updated toN1andN2but not toN2andN3. - Example 2: If a service instance
SIof serviceSis deployed in namespaceN2, then serviceSwon't be allowed to change namespaces fromN1,N2, andN3toN1andN3, removingN2until service instanceSIis deleted.
- Example 1: If service
- Cloud connections, shared parameters, and templates should either be global in nature or of a namespace to which a service belongs (service instance, in the case of SMTP connection).
Note: It is recommended to avoid composing a service with multiple namespaces that has templates or cloud connections from multiple namespaces. Even though the service belongs to multiple namespaces, it can be deployed in only one namespace and the activities by using or belonging to other namespaces fail.