Min typo fix, import reordering
This commit is contained in:
parent
9fd7adcaa2
commit
0cdc03d60a
@ -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"
|
||||
)
|
||||
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user