Skip to content

Commit

Permalink
disable deny grant
Browse files Browse the repository at this point in the history
  • Loading branch information
gmgigi96 committed Sep 6, 2023
1 parent 1815990 commit 7c44396
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/grpc/interceptors/noshare/noshare.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func NewUnary(_ map[string]interface{}) (grpc.UnaryServerInterceptor, int, error
info.PermissionSet.AddGrant = false
info.PermissionSet.RemoveGrant = false
info.PermissionSet.UpdateGrant = false
info.PermissionSet.DenyGrant = false
}
}
}
Expand All @@ -58,6 +59,7 @@ func NewUnary(_ map[string]interface{}) (grpc.UnaryServerInterceptor, int, error
statResp.Info.PermissionSet.AddGrant = false
statResp.Info.PermissionSet.RemoveGrant = false
statResp.Info.PermissionSet.UpdateGrant = false
statResp.Info.PermissionSet.DenyGrant = false
}
return resp, err
case *provider.AddGrantRequest:
Expand Down

0 comments on commit 7c44396

Please sign in to comment.