Comment 42 for bug 1617918

Revision history for this message
Jake Yip (waipengyip) wrote :

Hi Julien,

> So that means you won't be able to do directly "gnocchi resource show foobar" as user2/project1 if it has been created by user1/project1 because that will be a different UUID. But you will be able to do "gnocchi resource show <uuid-of-foobar-created-by-user1/project1>" as the Keystone auth mode will allow you.

Yes I understand this. I thought it might be a good idea to have the similar behaviour like nova where you can do a `nova show foobar` as any user in the project. Although nova does it another way, not by translating a name -> uuid.

But you might have a point about it to be generic. I'm fine either way, as long as it fixes the original bug.

By the way, do you have any experience on use cases that are doing create/show resources using strings instead of uuids? Perhaps with use cases we might figure which is better.