Skip to content

Commit

Permalink
Merge pull request #924 from careerbuilder/adding_inactive_site_access
Browse files Browse the repository at this point in the history
Adding inactive site access
  • Loading branch information
brianhyder committed Jan 12, 2016
2 parents 72ad9c4 + 0395e85 commit 3971100
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions plugins/pencilblue/include/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -1318,6 +1318,7 @@ module.exports = function Routes(pb){
handler: "put",
content_type: 'application/json',
auth_required: true,
inactive_site_access: true,
access_level: pb.SecurityService.ACCESS_EDITOR,
controller: path.join(pb.config.docRoot, 'plugins/pencilblue/controllers/api/content/topic_api_controller.js'),
request_body: ['application/json']
Expand All @@ -1330,6 +1331,7 @@ module.exports = function Routes(pb){
handler: "get",
content_type: 'application/json',
auth_required: true,
inactive_site_access: true,
access_level: pb.SecurityService.ACCESS_WRITER,
controller: path.join(pb.config.docRoot, 'plugins/pencilblue/controllers/api/content/page_api_controller.js')
},
Expand All @@ -1339,6 +1341,7 @@ module.exports = function Routes(pb){
handler: "getAll",
content_type: 'application/json',
auth_required: true,
inactive_site_access: true,
access_level: pb.SecurityService.ACCESS_WRITER,
controller: path.join(pb.config.docRoot, 'plugins/pencilblue/controllers/api/content/page_api_controller.js')
},
Expand All @@ -1348,6 +1351,7 @@ module.exports = function Routes(pb){
handler: "delete",
content_type: 'application/json',
auth_required: true,
inactive_site_access: true,
access_level: pb.SecurityService.ACCESS_EDITOR,
controller: path.join(pb.config.docRoot, 'plugins/pencilblue/controllers/api/content/page_api_controller.js')
},
Expand All @@ -1357,6 +1361,7 @@ module.exports = function Routes(pb){
handler: "post",
content_type: 'application/json',
auth_required: true,
inactive_site_access: true,
access_level: pb.SecurityService.ACCESS_WRITER,
controller: path.join(pb.config.docRoot, 'plugins/pencilblue/controllers/api/content/page_api_controller.js'),
request_body: ['application/json']
Expand All @@ -1367,6 +1372,7 @@ module.exports = function Routes(pb){
handler: "put",
content_type: 'application/json',
auth_required: true,
inactive_site_access: true,
access_level: pb.SecurityService.ACCESS_WRITER,
controller: path.join(pb.config.docRoot, 'plugins/pencilblue/controllers/api/content/page_api_controller.js'),
request_body: ['application/json']
Expand Down

0 comments on commit 3971100

Please sign in to comment.