Skip to content

Commit

Permalink
feat: stub out statebox service authorisation checks, so we don't ina…
Browse files Browse the repository at this point in the history
…dvertently kill everything :D

affects: tymly
  • Loading branch information
jezhiggins committed Jun 11, 2018
1 parent bbf0d70 commit 765a136
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/plugin/components/services/statebox/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ class StateboxService {
return this.statebox.waitUntilStoppedRunning(executionName, callback)
}

async authorisationCheck (stateMachineName, executionOptions, action) {
return [true] // STUB!
}
/*
async authorisationCheck (stateMachineName, executionOptions, action) {
const rbac = this.services.rbac
const userId = executionOptions.userId
Expand Down Expand Up @@ -130,6 +134,7 @@ class StateboxService {
}
]
} // authorisationCheck
*/
} // class StateboxService

function addResources (statebox, options) {
Expand Down

0 comments on commit 765a136

Please sign in to comment.