Namespaces¶
Altair SLC Hub implements a namespace system to allow segregation and grouping of entities. For more read about namespaces.
Before you start¶
Goal
- Set up a namespace.
Prerequisites
- A configured Altair SLC Hub.
Create a Namespace¶
By default Altair SLC Hub is configured with a single namespace. To create a new namespace:
- In the portal interface, click Hub Administration and then click Namespace Manager.
- Click New.
- Enter a new name for the namespace.
- Click OK.
Verify
The new namespace should now be listed in the Namespace Manager page.
Access Control¶
Access control for most objects are namespaced, more details see Access control framework.
The Read
and Use
permissions are required on the /Namespace
object, this is already provided by the NamespaceUser role.
Permissions for the specific objects that should be made available to the user/group need to be set up in a role.
To use the object, a role binding needs to be made from both the NamespaceUser role and the other required roles, making sure to specify which namespace this role binding is for.
Example¶
As an example, the hub instance contains a namepace called Finance
. We want to provide everyone in the FinanceGroup
group access to the library definitions defined in this namespace.
To provide this access requires adding role bindings to the namespace for the predefined DataAccessConsumer
and NamespaceUser
roles which already provide the relevant permissions.
- In the portal interface, click Hub Administration and then click Groups.
- Use the search to find the
FinanceGroup
group. - Click the group name in the group list.
- Under the
Role bindings
section click New. - In the Add role bindings dialog select the
Finance
namespace. - Use the search to find the
NamespaceUser
role and click Add. - Find the
DataAccessConsumer
role and click Add. - Click Close.
Verify
Use the Access Control Test page in Hub Administration to check that the user now has the correct permissions for the new namespace.