Convey("When user is editor and in the ACL",func(){
Convey("When user is editor and has admin permission in the ACL",func(){
loggedInUserScenarioWithRole("When calling GET on","GET","/api/dashboards/id/1/acl","/api/dashboards/id/:dashboardId/acl",models.ROLE_EDITOR,func(sc*scenarioContext){
Convey("When user is editor and has edit permission in the ACL",func(){
loggedInUserScenarioWithRole("When calling GET on","GET","/api/dashboards/id/1/acl","/api/dashboards/id/:dashboardId/acl",models.ROLE_EDITOR,func(sc*scenarioContext){
Convey("When user is editor and not in the ACL",func(){
loggedInUserScenarioWithRole("When calling GET on","GET","/api/dashboards/id/1/acl","/api/dashboards/id/:dashboardsId/acl",models.ROLE_EDITOR,func(sc*scenarioContext){