{"action":"opened","issue":{"url":"https://api.github.com/repos/juju/charmstore/issues/413","labels_url":"https://api.github.com/repos/juju/charmstore/issues/413/labels{/name}","comments_url":"https://api.github.com/repos/juju/charmstore/issues/413/comments","events_url":"https://api.github.com/repos/juju/charmstore/issues/413/events","html_url":"https://github.com/juju/charmstore/issues/413","id":97048792,"number":413,"title":"base entity not removed when the last revision of an entity is deleted","user":{"login":"frankban","id":1408172,"avatar_url":"https://avatars.githubusercontent.com/u/1408172?v=3","gravatar_id":"","url":"https://api.github.com/users/frankban","html_url":"https://github.com/frankban","followers_url":"https://api.github.com/users/frankban/followers","following_url":"https://api.github.com/users/frankban/following{/other_user}","gists_url":"https://api.github.com/users/frankban/gists{/gist_id}","starred_url":"https://api.github.com/users/frankban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankban/subscriptions","organizations_url":"https://api.github.com/users/frankban/orgs","repos_url":"https://api.github.com/users/frankban/repos","events_url":"https://api.github.com/users/frankban/events{/privacy}","received_events_url":"https://api.github.com/users/frankban/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-24T13:07:08Z","updated_at":"2015-07-24T13:07:08Z","closed_at":null,"body":"Base entities are never deleted, even if the last (or only) revision of the corresponding entities is deleted via the DELETE api call to the archive endpoint.\r\nThis can be problematic as the base entity stores, among other things, the ACLs for the related charms and bundles. So when the same entity is uploaded again it will automatically inherit the preexisting ACLs, which can be unexpected and confusing.\r\n"}}