Skip to content

[v12] Hosted plugins frontend / user-facing parts#24597

Merged
justinas merged 5 commits intobranch/v12from
justinas/v12/backport-hosted-plugins-fe
Apr 14, 2023
Merged

[v12] Hosted plugins frontend / user-facing parts#24597
justinas merged 5 commits intobranch/v12from
justinas/v12/backport-hosted-plugins-fe

Conversation

@justinas
Copy link
Copy Markdown
Contributor

@justinas justinas commented Apr 14, 2023

justinas and others added 5 commits April 14, 2023 16:48
* Add GetType() to Plugin

* Add Plugins feature flag to web

* Run prettier

* Update e_imports.go with slack plugin subpackage

Respective enterprise changes imports a new subpackage,
which pulls new dependencies.
* Respect route exactness in TopNav

* Allow submitting CSRF token via form

* Skip "safe" methods in CSRF checks

* Export getXCSRFToken

* Add WithAuth2

* Passthrough "name" of FieldInput

Allows it to be used in an actual form

* icomoon: add hashtag icon

* Add GetAvailablePluginTypes to PluginService proto

* Expose ProxyPublicAddr

For use in Enterprise web Plugin

* Run prettier

* Factor out app.MetaRedirect

* Rename: WithAuth2 -> WithAuthCookieAndCSRF

* Run GCI

* Renegerate protos
* Move icons to design pkg to share between packages

* Moved integration routes from enterprise

* Add integrations ACL to user context

Also fixes inaccurate plugin perm checking for features.
Plugin "create" is moved to new feature flag "enrollIntegrations".

* Moved feature definition from enterprise

* Add integration service and types

Also moved Plugin type from enterprise

* Create add integration button comp for use in both OS/enterprise

* Move integration list from enteprise (refactored)

* Create open source integrations comp

* Update user.test

* Address CRs

* Make updates in response to backend PR updates

* Add clarifying comment

* Remove return value, export integration list
* Create a shareable tooltip no permission badge comp

* Implement the open source enroll integration screen

Copied over tile styling and header description with
minor refactoring from enterprise

* Add integration feature

This feature is manually disabled.
The user ACL for this screen is manually
set to always return false.

* Remove testing implementation detail?

* Make open source check for only integration resource access

* Update snapshot
* Add new assets for integration enroll flow

* Adapt integration status after switch to enum

* Prettier

* Fix some lints

* Rename enum numbers according to conventions
@justinas justinas force-pushed the justinas/v12/backport-hosted-plugins-fe branch from e28b166 to 9614a5d Compare April 14, 2023 13:49
@justinas justinas changed the title Justinas/v12/backport hosted plugins fe [v12] Hosted plugins frontend / user-facing parts Apr 14, 2023
@justinas justinas marked this pull request as ready for review April 14, 2023 14:18
@github-actions github-actions Bot requested review from ryanclark and zmb3 April 14, 2023 14:18
@justinas justinas requested a review from kimlisa April 14, 2023 15:15
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from zmb3 April 14, 2023 15:44
@justinas justinas added this pull request to the merge queue Apr 14, 2023
Merged via the queue into branch/v12 with commit b344c6b Apr 14, 2023
@justinas justinas deleted the justinas/v12/backport-hosted-plugins-fe branch April 14, 2023 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants