Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: app sharing (now open source!)#4378

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
deansheather merged 16 commits intomainfromdean/app-sharing
Oct 14, 2022
Merged

Conversation

deansheather
Copy link
Member

@deansheatherdeansheather commentedOct 5, 2022
edited
Loading

Closes#3515,Closes#4358

Adds app sharing. Templates can addshare = "owner" (defaults to owner) to apps to enable sharing. Available levels:

  • owner (default) which means only the owner can access it, basically means "unshared"
  • authenticated means any user that is signed in
  • public means any user, including unauthenticated users (also bypasses scope checks on API keys intentionally)

TODO:

  • Addsharing_level to provider code
  • Big tests
  • Test for scope
  • Addshare to the provider itself
  • Add to example templates for discovery
  • Add method for creating a new API key with a given scope (which I needed for writing tests)
  • Add flag to control available levels for enterprise customers only (future PR)

@deansheatherdeansheather changed the titlefeat: app sharing (enterprise)feat: app sharing (now open source!)Oct 12, 2022
@deansheatherdeansheather marked this pull request as ready for reviewOctober 12, 2022 20:03
@deansheatherdeansheather requested a review froma team as acode ownerOctober 12, 2022 20:03
@deansheatherdeansheather requested review frompresleyp,f0ssel,Emyrk,sreya anda team and removed request fora teamOctober 12, 2022 20:03
Copy link
Contributor

@presleyppresleyp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Frontend ✅ looks cool!

Copy link
Collaborator

@sreyasreya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

The code seems pretty good overall. My one comment on the structure is there seems to be a lot of the "guts" of workspace apps spilling out intocoderd. Do you think any of this makes sense to break out into anapps package and concentrate a lot of the logic here?

@deansheather
Copy link
MemberAuthor

@sreya at the moment all of the applications code is in a single file so it's not spread out across coderd or anything like that. We will have to move this to a separate package to support satellites soon (Colin and I have plans), so since we already plan on moving it to it's own package and making a lot of changes I think we should leave it here for now to avoid having to do the same work twice (as we'll need to make a lot of other changes at the same time to support satellites).

@sreya
Copy link
Collaborator

sreya commentedOct 12, 2022
edited
Loading

@deansheather if you wish to do it in another PR i'm cool with that. Personally I think it's a little premature to start considering satellites but we can have that discussion elsewhere ❤️

@deansheather
Copy link
MemberAuthor

deansheather commentedOct 12, 2022
edited
Loading

(our plans are to refactor all of the connection code so it doesn't depend directly on the database in upcoming weeks and move it all to a different package)

sreya reacted with thumbs up emoji

@deansheatherdeansheather merged commitd898737 intomainOct 14, 2022
@deansheatherdeansheather deleted the dean/app-sharing branchOctober 14, 2022 16:46
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsOct 14, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@sreyasreyasreya left review comments

@EmyrkEmyrkEmyrk left review comments

@ammarioammarioammario left review comments

@presleyppresleyppresleyp approved these changes

@f0sself0sself0ssel approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Opening the link generated by the port forward button requires authentication Share apps or ports with other users and even the public!
6 participants
@deansheather@sreya@presleyp@Emyrk@ammario@f0ssel

[8]ページ先頭

©2009-2025 Movatter.jp