loggedInUserScenarioWithRole("When calling GET on","GET","/api/dashboards/1/acl","/api/dashboards/:id/acl",models.ROLE_ADMIN,func(sc*scenarioContext){
loggedInUserScenarioWithRole("When calling GET on","GET","/api/dashboards/id/1/acl","/api/dashboards/id/:dashboardsId/acl",models.ROLE_ADMIN,func(sc*scenarioContext){
Convey("When user is editor and in the ACL",func(){
loggedInUserScenarioWithRole("When calling GET on","GET","/api/dashboards/1/acl","/api/dashboards/:id/acl",models.ROLE_EDITOR,func(sc*scenarioContext){
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/1/acl","/api/dashboards/:id/acl",models.ROLE_EDITOR,func(sc*scenarioContext){
loggedInUserScenarioWithRole("When calling GET on","GET","/api/dashboards/id/1/acl","/api/dashboards/id/:dashboardsId/acl",models.ROLE_EDITOR,func(sc*scenarioContext){