Skip to content

Commit

Permalink
fix: default policy bug
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyu committed Aug 14, 2024
1 parent 988a34a commit aef410b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/authorization/ts_app_authorizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ func (t *TsAuthorizer) addDesktopRules(ctx context.Context, username, domain str
}

// apps follow system level
userAuth.appDefaultPolicy = userAuth.defaultPolicy
userAuth.appDefaultPolicy = userAuth.desktopPolicy

position := len(rules)

Expand Down

0 comments on commit aef410b

Please sign in to comment.