OS Name/Version: debian 12 (bookwork) on Proxmox KVM
Product Name/Version: Amp (Advanced Edition) v2.6.0.6, built 20/11/2024 20:57
Hi,
i just bought amp in the hopes I could finally let my friends create their own minecraft servers instead of me having to setup and manage them using portainer for them. Unfortunately I’m to stupid to configure the permissions correctly.
I want my friends to be able to do the following:
create an instance
manage that instance
allow other existing users access to that instance
But I can’t figure it out.
My setup features a controller vm and a target vm. I’ll probably add an LXC container and a bare metal target later too.
I’ve set the following permissions:
Local instance (controller) Manage
ADS.InstanceManagement.CreateInstance
This already allows the user to create an instance. But after creating it, it just doesn’t show up?
I can see the instance using my admin account just fine, but the user doesn’t have any permission to access it?
I found out that I can allow users access manually for the created instance, but even then I have to go into the instance and also set all the required permissions there.
From reading other forum posts it seemed there was some kind of ownership model? Did I misconfigure something?
That’s exactly what I did and that’s the whole problem I’m having.
I want the user to be able to create instances (which works) and then let them configure their instances (which doesn’t work unless I allow them to manage the newly created instance).
As the user you can basically click on create instance and then watch as nothing that happens is actually displayed to you.
I just don’t know which setting or permission I’d have to enable to allow that.
The permission system isn’t set up to account for non-trusted/non-privelaged users to autmagically see their own created instances.
You can get around that by allowing the All Instances permission, then deny any perms that you don’t want them to access.
With Advanced Edition you have access to Template Roles, which you’ll want to use for the permissions inside the instance, so they’re copied across all the instances for that user.