# Sharing resources across users and groups in VDC

**URL:** <https://forum.opennebula.io/t/sharing-resources-across-users-and-groups-in-vdc/10759>\
**Category:** Product Support\
**Created:** [August 12, 2022, 9:59pm UTC](https://forum.opennebula.io/t/sharing-resources-across-users-and-groups-in-vdc/10759 "2022-08-12T21:59:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DistGent](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@DistGent](https://forum.opennebula.io/u/DistGent)\
**Post date:** [August 12, 2022, 9:59pm UTC](https://forum.opennebula.io/t/sharing-resources-across-users-and-groups-in-vdc/10759/1 "2022-08-12T21:59:30Z")

</div>

Hi Yall,

I have created the Following  
ON Version 6.4.0 Community MiniOne  
Provider: AWS  
Provision: One in every AWS region  
VDC:

* * *

```auto
onevdc list
  ID NAME GROUPS CLUSTERS HOSTS VNETS DATASTORES
 103 Company B 1 ALL 0 0 0
 102 Company A 1 ALL 0 0 0
   0 default 3 ALL 0 0 0

```

* * *

Group:  
Company A Group  
Users:  
Company-A-Group-Admin  
CompAUser1  
CompAUser2

Company B Group  
Users:  
Company-B-Group-Admin  
CompBUser1  
CompBUser2

* * *

Image:

Uploaded from desktop

```auto
oneimage show 9
IMAGE 9 INFORMATION
ID : 9
NAME : Ubuntu 20.04 LTS
USER : oneadmin
GROUP : oneadmin
LOCK : None
DATASTORE : default
TYPE : OS
REGISTER TIME : 08/12 20:59:25
PERSISTENT : No
SOURCE : /var/lib/one//datastores/1/e1f821e204b708f199c7f07edef9e13b
PATH : /var/tmp/1331691520-ubuntu-20044-live-server-amd64iso
FORMAT : raw
SIZE : 1.2G
STATE : rdy
RUNNING_VMS : 0

PERMISSIONS
OWNER : uma
GROUP : um-
OTHER : u--

IMAGE TEMPLATE
DEV_PREFIX="sd"

VIRTUAL MACHINES

```

* * *

VM Template

```auto
TEMPLATE 14 INFORMATION
ID : 14
NAME : Ubuntu 20.04 LTS
USER : oneadmin
GROUP : Company A Group
LOCK : None
REGISTER TIME : 08/12 21:13:16

PERMISSIONS
OWNER : uma
GROUP : um-
OTHER : u--

TEMPLATE CONTENTS
CONTEXT=[
  NETWORK="YES",
  SSH_PUBLIC_KEY="$USER[SSH_PUBLIC_KEY]" ]
CPU="1"
CPU_MODEL=[
  MODEL="host-passthrough" ]
DISK=[
  IMAGE="Ubuntu 20.04 LTS",
  IMAGE_UNAME="oneadmin" ]
GRAPHICS=[
  LISTEN="0.0.0.0",
  TYPE="VNC" ]
HOT_RESIZE=[
  CPU_HOT_ADD_ENABLED="NO",
  MEMORY_HOT_ADD_ENABLED="NO" ]
HYPERVISOR="kvm"
INPUTS_ORDER=""
LOGO="images/logos/ubuntu.png"
MEMORY="8192"
MEMORY_UNIT_COST="MB"
NIC=[
  NETWORK_MODE="auto",
  SSH="YES" ]

```

* * *

PROBLEM:  
I can instantiate the VM Template with OneAdmin as Company A Group  
The VM Builds fine and shows up in the Company A dashboard.

When logged in as the Admin user for Company A Group I can see the VM Template.  
When I attempt to instantiate the VM Template as the Company A Group Admin User I get (**User Template includes a restricted attribute DISK.)**  
I know this was a bug in previous versions, however this was supposed to be resolved in 6.4.0

Please advise.

---

<div class="post-metadata">

**Author:** ![DistGent](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@DistGent](https://forum.opennebula.io/u/DistGent)\
**Post date:** [August 12, 2022, 10:37pm UTC](https://forum.opennebula.io/t/sharing-resources-across-users-and-groups-in-vdc/10759/2 "2022-08-12T22:37:26Z")

</div>

UPDATE:  
Commented out the DISK VM\_RESTRICTED\_ATTR and the deployment proceeds.  
This does not seem to be the best solution. Any feedback would be appreciated.

---

<div class="post-metadata">

**Author:** ![DistGent](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@DistGent](https://forum.opennebula.io/u/DistGent)\
**Post date:** [August 15, 2022, 5:59pm UTC](https://forum.opennebula.io/t/sharing-resources-across-users-and-groups-in-vdc/10759/3 "2022-08-15T17:59:12Z")

</div>

Update:

Ran into a new issue  
[one.cluster.info] User [15] : Not authorized to perform USE CLUSTER [127].  
This is the admin user.  
The VDC and group have permission to use the cluster.  
I am seeing that when i go to  
Instance \> VM \> select a VM.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/opennebula/original/2X/1/14d66f1130b9cd292905f575da9b68a9f574dd03.png) [@system](https://forum.opennebula.io/u/system)\
**Post date:** [June 25, 2025, 3:48pm UTC](https://forum.opennebula.io/t/sharing-resources-across-users-and-groups-in-vdc/10759/4 "2025-06-25T15:48:01Z")

</div>

Closed on June 25, 2025, 3:48pm UTC

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
