Re: Updating Object Store Configuration

2024-10-22 Thread Vishesh Jindal
way > you should be able to hide ObjectStoreDetails from being returned for users > who aren't Root Admin. > > > > > > Hope this helps. > > > > Regards, > > Pearl > > > > > > > > > > > > > > > >

Re: Updating Object Store Configuration

2024-10-22 Thread Tom O'Dowd
> > Hope this helps. > > Regards, > Pearl > > > > > > > > > From: Tom O'Dowd > Sent: October 22, 2024 1:06 AM > To: dev@cloudstack.apache.org > Subject: Re: Updating Object Store Configuration > > Hi guys, >

Re: Updating Object Store Configuration

2024-10-21 Thread Pearl d'Silva
view . This way you should be able to hide ObjectStoreDetails from being returned for users who aren't Root Admin. Hope this helps. Regards, Pearl From: Tom O'Dowd Sent: October 22, 2024 1:06 AM To: dev@cloudstack.apache.org Subject: Re: Updat

Re: Updating Object Store Configuration

2024-10-21 Thread Tom O'Dowd
Hi guys, Really could do with some feedback here. I got editing object store details working fully. However, I think there is a problem regarding permissions. I am using the `ListResourceDetailsCmd` API. Using this API from the vue file, I can get the details that I need and provide a way to e

Re: Updating Object Store Configuration

2024-10-17 Thread Tom O'Dowd
I spent more time trying to understand the code today. What I said before was an incorrect understanding of what was happening. Anyway, I found an API called `ListResourceDetailsCmd` which I can call with a resourceid of the object store and a resourcetype of ‘objectstore’. This doesn’t work out

Re: Updating Object Store Configuration

2024-10-11 Thread Tom O'Dowd
Hi Vishesh/all, I had a go at this but I need a bit of help/guidance I think. I figured out how to create and hook in a updateObjectStorage.vue file. I wanted to get a basic one working first. The issue I’m having next is I cannot get the “details” map out to the GUI as part of UpdateObjectSto

Re: Updating Object Store Configuration

2024-10-10 Thread Vishesh Jindal
Hi Tom, This is the right place for the discussion. I think what you are suggesting makes sense. If the user wants to update the accessKey and secretKey, it should be allowed. We can create a validation function for the Storage Plugins as per the selected provider to validate the details map.