Skip to content

Commit

Permalink
fix: disable statebox RBAC again :)
Browse files Browse the repository at this point in the history
affects: tymly
  • Loading branch information
jezhiggins authored and exactlyaron committed Jun 13, 2018
1 parent eee9d6b commit 23b31f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions lib/plugin/components/services/statebox/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,11 @@ class StateboxService {
return this.statebox.waitUntilStoppedRunning(executionName, callback)
}

/*
async authorisationCheck (stateMachineName, executionOptions, action) {
return [true] // STUB!
}
*/
async authorisationCheck (stateMachineName, executionOptions, action) {
return [true] // STUB!
}

/*
async authorisationCheck (userId, stateMachineName, executionOptions, action) {
const rbac = this.services.rbac
Expand Down Expand Up @@ -155,6 +154,7 @@ class StateboxService {
}
]
} // authorisationCheck
*/
} // class StateboxService

function addResources (statebox, options) {
Expand Down
2 changes: 1 addition & 1 deletion test/statebox-service-acl-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const path = require('path')
const expect = require('chai').expect
const tymly = require('../lib')

describe('statebox service RBAC authorisation tests', function () {
xdescribe('statebox service RBAC authorisation tests', function () {
this.timeout(process.env.TIMEOUT || 5000)

let tymlyService
Expand Down

0 comments on commit 23b31f8

Please sign in to comment.