{"action":"opened","issue":{"url":"https://api.github.com/repos/Orange-OpenSource/autosleep/issues/207","repository_url":"https://api.github.com/repos/Orange-OpenSource/autosleep","labels_url":"https://api.github.com/repos/Orange-OpenSource/autosleep/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/Orange-OpenSource/autosleep/issues/207/comments","events_url":"https://api.github.com/repos/Orange-OpenSource/autosleep/issues/207/events","html_url":"https://github.com/Orange-OpenSource/autosleep/issues/207","id":160864646,"number":207,"title":"Change the behavior of forced enrollment for service instances","user":{"login":"pradyutsarma","id":858802,"avatar_url":"https://avatars.githubusercontent.com/u/858802?v=3","gravatar_id":"","url":"https://api.github.com/users/pradyutsarma","html_url":"https://github.com/pradyutsarma","followers_url":"https://api.github.com/users/pradyutsarma/followers","following_url":"https://api.github.com/users/pradyutsarma/following{/other_user}","gists_url":"https://api.github.com/users/pradyutsarma/gists{/gist_id}","starred_url":"https://api.github.com/users/pradyutsarma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradyutsarma/subscriptions","organizations_url":"https://api.github.com/users/pradyutsarma/orgs","repos_url":"https://api.github.com/users/pradyutsarma/repos","events_url":"https://api.github.com/users/pradyutsarma/events{/privacy}","received_events_url":"https://api.github.com/users/pradyutsarma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-17T11:06:56Z","updated_at":"2016-06-17T11:06:56Z","closed_at":null,"body":"Currently, the autosleep service does not allow service instances to be deleted if the [forced-autoenrollment](https://github.com/Orange-OpenSource/autosleep#lockauto-enrollment) parameter is set to forced guarded by the secret. A side effect of this is: Org/Space managers who would want to delete a space won’t be able to do it since this service instance won’t be deletable and not all Org/Space managers may have access to the secret parameter (especially in a public PAAS).\r\n\r\nHowever, now that there is this plan of introducing \"Automatic scans for orgs/spaces too\" via [this feature](https://github.com/Orange-OpenSource/autosleep/issues/201), can we change this behavior of forced enrollment for service instances to the same as it is for binding instances. That is: we allow an user to delete the service instance and if the space is not deleted till the inactivity period, the service instance is created again.\r\n\r\nThis allows Org/Space managers to delete their owned spaces as and when they would want to. This is a pretty important use case for us.\r\n"}}
{"actor":{"display_login":"pradyutsarma"}}