Editing the data source and editing the workbook are two different permissions. Editing the data source has to do with when a data source is published to Tableau Server. This has it's own permissions.
Thanks for the reply. I want to edit data connections of my workbook. Something mentioned here
Is this functionality available in Tabelau Server 7 and if user who has publish rights would be able to do this?