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
S
belongs to namespacesN1
,N2
, andN3
. UserU
has access toN2
,N3
,N4
. Allowed namespaces for deployment areN2
andN3
.
- 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 namespacesN1
andN2
(one service instance inN1
and one inN2
) then you can allow to update the namespaces ofS1
only if it includesN1
andN2
. That is,S1
can be updated toN1
andN2
but not toN2
andN3
. - Example 2: If a service instance
SI
of serviceS
is deployed in namespaceN2
, then serviceS
won't be allowed to change namespaces fromN1
,N2
, andN3
toN1
andN3
, removingN2
until service instanceSI
is 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.