{"action":"created","issue":{"url":"https://api.github.com/repos/google/ggrc-core/issues/8406","repository_url":"https://api.github.com/repos/google/ggrc-core","labels_url":"https://api.github.com/repos/google/ggrc-core/issues/8406/labels{/name}","comments_url":"https://api.github.com/repos/google/ggrc-core/issues/8406/comments","events_url":"https://api.github.com/repos/google/ggrc-core/issues/8406/events","html_url":"https://github.com/google/ggrc-core/pull/8406","id":359031729,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0NjIwNjg5","number":8406,"title":"GGRC-5658 Disable mappings of Scoping object - Standard and Scoping object - Regulation","user":{"login":"Tobichimaru","id":7455821,"node_id":"MDQ6VXNlcjc0NTU4MjE=","avatar_url":"https://avatars1.githubusercontent.com/u/7455821?v=4","gravatar_id":"","url":"https://api.github.com/users/Tobichimaru","html_url":"https://github.com/Tobichimaru","followers_url":"https://api.github.com/users/Tobichimaru/followers","following_url":"https://api.github.com/users/Tobichimaru/following{/other_user}","gists_url":"https://api.github.com/users/Tobichimaru/gists{/gist_id}","starred_url":"https://api.github.com/users/Tobichimaru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tobichimaru/subscriptions","organizations_url":"https://api.github.com/users/Tobichimaru/orgs","repos_url":"https://api.github.com/users/Tobichimaru/repos","events_url":"https://api.github.com/users/Tobichimaru/events{/privacy}","received_events_url":"https://api.github.com/users/Tobichimaru/received_events","type":"User","site_admin":false},"labels":[{"id":653911749,"node_id":"MDU6TGFiZWw2NTM5MTE3NDk=","url":"https://api.github.com/repos/google/ggrc-core/labels/cla:%20yes","name":"cla: yes","color":"ededed","default":false},{"id":358687972,"node_id":"MDU6TGFiZWwzNTg2ODc5NzI=","url":"https://api.github.com/repos/google/ggrc-core/labels/critical","name":"critical","color":"000000","default":false},{"id":86898803,"node_id":"MDU6TGFiZWw4Njg5ODgwMw==","url":"https://api.github.com/repos/google/ggrc-core/labels/needs%20work","name":"needs work","color":"f9d0c4","default":false},{"id":352278423,"node_id":"MDU6TGFiZWwzNTIyNzg0MjM=","url":"https://api.github.com/repos/google/ggrc-core/labels/on%20hold","name":"on hold","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/google/ggrc-core/milestones/107","html_url":"https://github.com/google/ggrc-core/milestone/107","labels_url":"https://api.github.com/repos/google/ggrc-core/milestones/107/labels","id":3625547,"node_id":"MDk6TWlsZXN0b25lMzYyNTU0Nw==","number":107,"title":"1.25.0-Strawberry","description":null,"creator":{"login":"romamatusevich","id":1313221,"node_id":"MDQ6VXNlcjEzMTMyMjE=","avatar_url":"https://avatars2.githubusercontent.com/u/1313221?v=4","gravatar_id":"","url":"https://api.github.com/users/romamatusevich","html_url":"https://github.com/romamatusevich","followers_url":"https://api.github.com/users/romamatusevich/followers","following_url":"https://api.github.com/users/romamatusevich/following{/other_user}","gists_url":"https://api.github.com/users/romamatusevich/gists{/gist_id}","starred_url":"https://api.github.com/users/romamatusevich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romamatusevich/subscriptions","organizations_url":"https://api.github.com/users/romamatusevich/orgs","repos_url":"https://api.github.com/users/romamatusevich/repos","events_url":"https://api.github.com/users/romamatusevich/events{/privacy}","received_events_url":"https://api.github.com/users/romamatusevich/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2018-09-05T16:10:16Z","updated_at":"2018-09-11T12:48:28Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-09-11T12:48:28Z","updated_at":"2018-09-11T21:39:09Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/google/ggrc-core/pulls/8406","html_url":"https://github.com/google/ggrc-core/pull/8406","diff_url":"https://github.com/google/ggrc-core/pull/8406.diff","patch_url":"https://github.com/google/ggrc-core/pull/8406.patch"},"body":"<!-- If your PR depends on other tickets or PRs, you can list them here\r\n# Dependencies\r\n\r\nThis PR is `on hold` until the dependencies are merged:\r\n\r\n- [ ] GGRC-1234\r\n- [ ] #1234\r\n-->\r\n\r\n# Issue description\r\n\r\n* The system should not allow to create mapping between scoping object and standard / regulation on BE (blacklisted on GGRC api).\r\n* The system should not allow to remove mapping between scoping object and standard / regulation on BE (blacklisted on GGRC api).\r\n* The system should not allow to create mapping between scoping object and standard / regulation via import.\r\n* The system should not allow to remove mapping between scoping object and standard / regulation via import.\r\n\r\n# Steps to test the changes\r\n\r\n* check mapping and unmapping between scoping object and Standard/Regulation with UI (the error message should be shown)\r\n* check mapping and unmapping between scoping object and Standard/Regulation via import (the warning message should be shown)\r\n\r\n# Solution description\r\n\r\n* Validation on relationship creation was added\r\n* Validation on relationship delete was added\r\n* Validation was added to column handler for creation and deletion of a mapping\r\n\r\n# Sanity checklist\r\n\r\n- [x] I have clicked through the app to make sure my changes work and not break the app.\r\n- [x] I have applied the correct milestone and labels.\r\n- [x] My changes fix the issue described in the description (and do nothing else). 🤞\r\n- [x] My changes are covered by tests.\r\n- [x] My changes follow our [performance guidelines](https://github.com/google/ggrc-core/blob/dev/docs/source/contributing/performance.rst).\r\n- [x] My changes follow our [js](https://github.com/google/ggrc-core/blob/dev/docs/source/contributing/javascript.rst) and/or [python](https://github.com/google/ggrc-core/blob/dev/docs/source/contributing/python.rst) guidelines.\r\n- [x] My commits follow our [commit guidelines](https://github.com/google/ggrc-core/blob/dev/docs/source/contributing/git/how_to_write_a_commit_message.rst).\r\n\r\n<!-- If your PR includes a migration include the additional checklist items\r\n# Migration checklist\r\n- [ ] Migration passes all checks from our [PR review guidelines](https://github.com/google/ggrc-core/blob/dev/docs/source/contributing/git/reviewing_pull_requests.rst#reviewing-a-pr-containing-database-migration-scripts)\r\n-->\r\n\r\n# PR Review checklist\r\n\r\n- [ ] The changes fix the issue and don't cause any apparent regressions.\r\n- [ ] Labels and milestone are correctly set.\r\n- [ ] The solution description matches the changes in the code.\r\n- [ ] There is no apparent way to improve the performance & design of the new code.\r\n- [ ] The pull request is opened against the correct base branch.\r\n- [ ] Upon merging, the Jira ticket's fixversion is correctly set and the ticket is moved to \"QA - In Progress\".\r\n\r\n<!-- If your code is not finished yet can include a TODO check list\r\n# TODO\r\n\r\n- [ ] First item on the TODO\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/google/ggrc-core/issues/comments/420434659","html_url":"https://github.com/google/ggrc-core/pull/8406#issuecomment-420434659","issue_url":"https://api.github.com/repos/google/ggrc-core/issues/8406","id":420434659,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDQzNDY1OQ==","user":{"login":"NastassiaKiseleva","id":19385321,"node_id":"MDQ6VXNlcjE5Mzg1MzIx","avatar_url":"https://avatars3.githubusercontent.com/u/19385321?v=4","gravatar_id":"","url":"https://api.github.com/users/NastassiaKiseleva","html_url":"https://github.com/NastassiaKiseleva","followers_url":"https://api.github.com/users/NastassiaKiseleva/followers","following_url":"https://api.github.com/users/NastassiaKiseleva/following{/other_user}","gists_url":"https://api.github.com/users/NastassiaKiseleva/gists{/gist_id}","starred_url":"https://api.github.com/users/NastassiaKiseleva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NastassiaKiseleva/subscriptions","organizations_url":"https://api.github.com/users/NastassiaKiseleva/orgs","repos_url":"https://api.github.com/users/NastassiaKiseleva/repos","events_url":"https://api.github.com/users/NastassiaKiseleva/events{/privacy}","received_events_url":"https://api.github.com/users/NastassiaKiseleva/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T21:39:09Z","updated_at":"2018-09-11T21:39:09Z","author_association":"COLLABORATOR","body":"Adding needs work - failed integration tests."}}
{"actor":{"display_login":"NastassiaKiseleva"}}