Add permissions by role def name, Tests updated.
Remove accidentally added file
Merge remote-tracking branch 'contributor/securitygroups' into pr328
merging of pr328: added some additional argument checks, removed language test as this is not adding value