{"action":"created","issue":{"url":"https://api.github.com/repos/kbower/tickettest1/issues/3157","repository_url":"https://api.github.com/repos/kbower/tickettest1","labels_url":"https://api.github.com/repos/kbower/tickettest1/issues/3157/labels{/name}","comments_url":"https://api.github.com/repos/kbower/tickettest1/issues/3157/comments","events_url":"https://api.github.com/repos/kbower/tickettest1/issues/3157/events","html_url":"https://github.com/kbower/tickettest1/issues/3157","id":197019221,"number":3157,"title":"Orders - New permission for changing salespersons on Adjustments","user":{"login":"i-rabot","id":24670438,"avatar_url":"https://avatars.githubusercontent.com/u/24670438?v=3","gravatar_id":"","url":"https://api.github.com/users/i-rabot","html_url":"https://github.com/i-rabot","followers_url":"https://api.github.com/users/i-rabot/followers","following_url":"https://api.github.com/users/i-rabot/following{/other_user}","gists_url":"https://api.github.com/users/i-rabot/gists{/gist_id}","starred_url":"https://api.github.com/users/i-rabot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i-rabot/subscriptions","organizations_url":"https://api.github.com/users/i-rabot/orgs","repos_url":"https://api.github.com/users/i-rabot/repos","events_url":"https://api.github.com/users/i-rabot/events{/privacy}","received_events_url":"https://api.github.com/users/i-rabot/received_events","type":"User","site_admin":false},"labels":[{"id":502436440,"url":"https://api.github.com/repos/kbower/tickettest1/labels/allcustomers","name":"allcustomers","color":"fbca04","default":false},{"id":502436250,"url":"https://api.github.com/repos/kbower/tickettest1/labels/eld","name":"eld","color":"fef2c0","default":false},{"id":502425682,"url":"https://api.github.com/repos/kbower/tickettest1/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":502436296,"url":"https://api.github.com/repos/kbower/tickettest1/labels/mis","name":"mis","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":{"login":"kentbower","id":5034099,"avatar_url":"https://avatars.githubusercontent.com/u/5034099?v=3","gravatar_id":"","url":"https://api.github.com/users/kentbower","html_url":"https://github.com/kentbower","followers_url":"https://api.github.com/users/kentbower/followers","following_url":"https://api.github.com/users/kentbower/following{/other_user}","gists_url":"https://api.github.com/users/kentbower/gists{/gist_id}","starred_url":"https://api.github.com/users/kentbower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentbower/subscriptions","organizations_url":"https://api.github.com/users/kentbower/orgs","repos_url":"https://api.github.com/users/kentbower/repos","events_url":"https://api.github.com/users/kentbower/events{/privacy}","received_events_url":"https://api.github.com/users/kentbower/received_events","type":"User","site_admin":false},"assignees":[{"login":"kentbower","id":5034099,"avatar_url":"https://avatars.githubusercontent.com/u/5034099?v=3","gravatar_id":"","url":"https://api.github.com/users/kentbower","html_url":"https://github.com/kentbower","followers_url":"https://api.github.com/users/kentbower/followers","following_url":"https://api.github.com/users/kentbower/following{/other_user}","gists_url":"https://api.github.com/users/kentbower/gists{/gist_id}","starred_url":"https://api.github.com/users/kentbower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentbower/subscriptions","organizations_url":"https://api.github.com/users/kentbower/orgs","repos_url":"https://api.github.com/users/kentbower/repos","events_url":"https://api.github.com/users/kentbower/events{/privacy}","received_events_url":"https://api.github.com/users/kentbower/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-12-21T19:56:43Z","updated_at":"2016-12-21T20:26:02Z","closed_at":null,"body":"_Imported from trac ticket 3157.\nCreated by **aadams**\nOpened in trac: May 12, 2015, 3:25:41 PM\nLast modified in trac: Jul 22, 2015, 2:24:20 PM_\n***\n_by aadams:_\nCreate a new permission \"adjustmentchngcomm\" to allow changing salespersons on Adjustments (Return, Exchange, Credit, Debit and, for now at least, Service Order) separately from sales.  The existing permission \"orderchngcomm - ORDERS - Ability to change the salespersons or percentage of sale for an order.\" applies to all order types currently and should be restricted to only apply to Sales and Reservations.\n"},"comment":{"url":"https://api.github.com/repos/kbower/tickettest1/issues/comments/268629844","html_url":"https://github.com/kbower/tickettest1/issues/3157#issuecomment-268629844","issue_url":"https://api.github.com/repos/kbower/tickettest1/issues/3157","id":268629844,"user":{"login":"i-rabot","id":24670438,"avatar_url":"https://avatars.githubusercontent.com/u/24670438?v=3","gravatar_id":"","url":"https://api.github.com/users/i-rabot","html_url":"https://github.com/i-rabot","followers_url":"https://api.github.com/users/i-rabot/followers","following_url":"https://api.github.com/users/i-rabot/following{/other_user}","gists_url":"https://api.github.com/users/i-rabot/gists{/gist_id}","starred_url":"https://api.github.com/users/i-rabot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i-rabot/subscriptions","organizations_url":"https://api.github.com/users/i-rabot/orgs","repos_url":"https://api.github.com/users/i-rabot/repos","events_url":"https://api.github.com/users/i-rabot/events{/privacy}","received_events_url":"https://api.github.com/users/i-rabot/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T20:26:01Z","updated_at":"2016-12-21T20:26:01Z","body":"_**sjohnson** trac comment on Jul 22, 2015, 10:07:02 AM:_\n\nMariam, should users with orderchgcomm (that currently have the ability to do this on Sales and everything else) retain the ability to edit this stuff on MCR/MDBs?\nRob\n___\nRob, yes, they need to for retailer upgrade consistency. This is the purpose of \"copy_permission()\"  function in dataupdate.py\n\n    5226: [\n        # after dataload\n        [UPGRADE_ONLY, \"copy_permission(u'orderchgcomm',u'orderchgadjustmentcomm')\", UNCONDITIONAL, AFTER_DATALOAD],\n        ],\n\n\nAfter the upgrade, El Dorado can remove the new permission from those who shouldn't have it and all other retailers are unaffected.\n(or they can remove the old permission.  same idea.)\nKent\n"}}
{"actor":{"display_login":"i-rabot"}}