Table of Contents |
---|
A resource scope is a scope that is assigned to a resource, such as a VM template or a VApp spec, and it controls resource sharing. Resources can usually have multiple scopes that work in conjunction with other access controls. For example, for administrators these are user role privileges, enterprise allowed datacenters, and user scope.
The administrator assigns the scopes to the resource itself and Abiquo gets the list of enterprises in the scopes and allows the users of those enterprises to access the resource. If the scopes are part of a hierarchy, then an administrator can share resources by selecting child scopes that are beneath their scope in the hierarchy.
For example, for virtual machine templates, the template scopes define a list of tenants whose users can access a shared template.
Pricing scope for pricing models
Abiquo controls access to pricing models with a simple resource scope, according to these rules:
Scope concepts
Concept_______ | Description | Notes |
---|---|---|
Scope |
| |
User scope |
| A user can deploy in allowed datacenters, even if they are not in their scope. An Administrator can manage users of the enterprises that are in their scope |
Resource scope |
| Used to share VM templates and VApp specs. An administrator can select their own scope, and scopes underneath their scope in the scope hierarchy |
Scope hierarchy |
| Administrators can share VM templates and VApp specs with users in scopes beneath their own scope. But they cannot manage the enterprises that are not directly in their user scope |
Global scope |
| |
Unlimited scopes |
| An unlimited scope cannot have a parent scope. It must be at the top of a scope hierarchy. An unlimited scope has new resources added automatically in its unlimited dimensions. Only a user with an unlimited scope can create an unlimited scope in the same dimensions as their scope. |
Pricing scope |
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
|
Scopes for VM templates and VApp specs
...
Excerpt | |||||
---|---|---|---|---|---|
|
The administrator can edit a template and add To share a template:
- Edit the template in the owner enterprise
- Add one or more available scopes
...
- The global scope means that users from all current and future enterprises can access this template.
When creating or editing a spec, the administrator can add
To share a spec:
- Create a spec or edit a spec in the owner enterprise
- Add one or more available scopes.
Resource scope example
This example applies to template and spec scopes.
...
Scope hierarchy example
An example scope hierarchy may include many levels. For example, a platform owner, resellers, customers, and departments.
In this case, the platform owner may manage global administrator users in their own scope. And then they may share templates and specs with other levels, for example, resellers and customers.
If the customers create their own scope hierarchy for their departments, then customers can share resources with the departments by scope.
Resource scope summary
Q: Which administrators can edit templates or specs?
A: Administrators in the owner enterprise (creator) with permissions to administer other enterprises
Q: How can admins share resources to users of other enterprises?
- Assign scopes
- Abiquo reads the list of enterprises in the scopes and allows users from these enterprises to use the resources
- Administrators can share templates with scopes in their own scope and scopes below their scope in the scope hierarchy tree