I see that this convention from the ec2 code made it to this branch.
if context.is_admin:
groups = db.security_group_get_all(context)
My preference would be to not list everything for admin users by default, as that makes it hard to use admin accounts as users. I'd rather use a separate parameter to specify that you in fact want a complete list, or have a separate admin api call. That said, I think that servers api behaves like this right now (I don't like that either :)
I see that this convention from the ec2 code made it to this branch.
if context.is_admin: group_get_ all(context)
groups = db.security_
My preference would be to not list everything for admin users by default, as that makes it hard to use admin accounts as users. I'd rather use a separate parameter to specify that you in fact want a complete list, or have a separate admin api call. That said, I think that servers api behaves like this right now (I don't like that either :)