Skip to content

Commit 939563f

Browse files
committed
linter paranoya broke 2 tests
1 parent 00326d8 commit 939563f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

security/matrix_based_operation_control.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ func (m *MatrixBasedOperationControl) IsOperationAllowed(realmId string, objectI
116116
m.logger.Warn(appErr.SecuritySettingsAreNil)
117117
}
118118

119-
var actor actorType
119+
//nolint:staticcheck
120+
var actor actorType = realmUser
120121

121122
if settings != nil {
122123
if settings.Admin.Id == userId {

0 commit comments

Comments
 (0)