Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Commit b653414

Browse files
author
noah
committed
Fix the bugs
1 parent 382dd87 commit b653414

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: internal/interactor/perm.go

+4
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ func (i *PermInteractor) ResyncPerms(ctx context.Context) error {
7474
}
7575

7676
func (i *PermInteractor) matchOrg(namespace string) bool {
77+
if i.orgEntries == nil {
78+
return true
79+
}
80+
7781
for _, org := range i.orgEntries {
7882
if namespace == org {
7983
return true

0 commit comments

Comments
 (0)