8000 feat: add organization scope for shared ports by aslilac · Pull Request #18314 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

feat: add organization scope for shared ports #18314

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 27 commits into from
Jun 16, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
jk
  • Loading branch information
aslilac committed Jun 13, 2025
commit bdee7ac118c7cafbc00cb6becb5e636fc9228db8
2 changes: 1 addition & 1 deletion enterprise/coderd/portsharing/portsharing.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func NewEnterprisePortSharer() *EnterprisePortSharer {
return &EnterprisePortSharer{}
}

func (s EnterprisePortSharer) AuthorizedLevel(template database.Template, level codersdk.WorkspaceAgentPortShareLevel) error {
func (EnterprisePortSharer) AuthorizedLevel(template database.Template, level codersdk.WorkspaceAgentPortShareLevel) error {
maxLevel := codersdk.WorkspaceAgentPortShareLevel(template.MaxPortSharingLevel)
return level.IsCompatibleWithMaxLevel(maxLevel)
}
Expand Down
0