{"action":"closed","issue":{"url":"https://api.github.com/repos/shaunjohnson/suafe/issues/2","labels_url":"https://api.github.com/repos/shaunjohnson/suafe/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/shaunjohnson/suafe/issues/2/comments","events_url":"https://api.github.com/repos/shaunjohnson/suafe/issues/2/events","html_url":"https://github.com/shaunjohnson/suafe/issues/2","id":61056165,"number":2,"title":"Error deleting access rule","user":{"login":"shaunjohnson","id":394594,"avatar_url":"https://avatars.githubusercontent.com/u/394594?v=3","gravatar_id":"","url":"https://api.github.com/users/shaunjohnson","html_url":"https://github.com/shaunjohnson","followers_url":"https://api.github.com/users/shaunjohnson/followers","following_url":"https://api.github.com/users/shaunjohnson/following{/other_user}","gists_url":"https://api.github.com/users/shaunjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/shaunjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaunjohnson/subscriptions","organizations_url":"https://api.github.com/users/shaunjohnson/orgs","repos_url":"https://api.github.com/users/shaunjohnson/repos","events_url":"https://api.github.com/users/shaunjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/shaunjohnson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-13T12:43:14Z","updated_at":"2015-03-13T13:53:38Z","closed_at":"2015-03-13T13:53:38Z","body":"What steps will reproduce the problem?\r\n1. Delete an access rule by using: AuthzDocument.deleteAccessRule(AuthzAccessRule)\r\n2. Delete is not effective. Check AuthzDocumentImpl.accessRules, the access rule is contained yet.\r\n\r\nThe problem is located at AuthzDocumentImpl line 478.\r\n\r\nCurrent code:\r\naccessRules.add(accessRule);\r\n\r\nFixed code should be:\r\naccessRules.remove(accessRule);\r\n"}}