3
0

Min typo fix, import reordering

This commit is contained in:
Denis Arh 2020-01-22 08:14:33 +01:00
parent 9fd7adcaa2
commit 0cdc03d60a
2 changed files with 3 additions and 4 deletions

View File

@ -2,7 +2,7 @@ package corredor
import (
"context"
"github.com/cortezaproject/corteza-server/pkg/permissions"
"github.com/go-chi/chi/middleware"
"github.com/pkg/errors"
"go.uber.org/zap"
@ -14,6 +14,7 @@ import (
"github.com/cortezaproject/corteza-server/pkg/app/options"
"github.com/cortezaproject/corteza-server/pkg/auth"
"github.com/cortezaproject/corteza-server/pkg/eventbus"
"github.com/cortezaproject/corteza-server/pkg/permissions"
"github.com/cortezaproject/corteza-server/system/types"
)

View File

@ -8,7 +8,7 @@ import (
type (
// ScriptSecurity sets script security and run-as flag
//
// Determinates user (if >0) that script will run under
// Determinate user (if >0) that script will run under
// and allow/deny combination for roles that can see & execute
// explicit (onManual) scripts
//
@ -17,8 +17,6 @@ type (
ScriptSecurity struct {
*Security
runAs uint64
allow []uint64
deny []uint64
}
Script struct {