Transforms role 'depends' attribute to 'restrictions'

Related to blueprint refactor-role-restrictions-check
Change-Id: Ic25005a35468942459146517ee726fbaffda3d98
Merge "Transforms role 'depends' attribute to 'restrictions'"