juju / charmstore

The charm store server.
http://gopkg.in/juju/charmstore.v5
GNU Affero General Public License v3.0
15 stars 37 forks source link

meta/perm: less naive implementation of privacy features #893

Closed frankban closed 4 years ago

frankban commented 4 years ago

The previous change to the meta/perm endpoint broke the "charm grant/revoke" commands, which rely on the GET perm/meta to always return the real ACLs even when the user only has read permission. We try to be more smart here about how the permissions are returned to the user.