mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-24 09:14:46 +01:00
3c0737f0fd
* Add Organization.PluginsAccess * Rename PluginsAccess to PluginsAccessLevel * Use Organization.plugins_access_level in can_…_plugins_via_api * Add migration for Organization.plugins_access_level * Remove unused PLUGINS_CLOUD_WHITELISTED_ORG_IDS * Update access.py * Add OrganizationPluginsAccessLevel TS enum * Fix merge * Disable LocalPlugin UI on Cloud * Move away from PluginAccess interface * Extend PluginsAccessLevel range * Refactor PluginsAccessLevel for brevity * Remove PluginAccess interface completely * Add plugins managed globally * Update migration * Show managing org name in "Managed" plugin tag * Smoothen some rough edges * Smoothen more edges * Restore correct MULTI_TENANCY default * All the edges * Fix most existing tests * Remove PLUGINS_*_VIA_API env var support * Update pluginsNeedingUpdates * Remove can_*_plugins_via_api from instance status page * Add tests and polish permissioning * Update migration * Fix typing * Make plugin drawer UI less intrusive * Update migration * Fix Uninstall button condition * Use unified _preflight status endpoint instead of the custom plugins one * Fix plugin update label condition * Fix "Check for updates" button condition * Explain PluginsAccessLevel choices with comments * Hide global plugin installation option on self-hosted * Don't actions.loadRepository() as install org * Improve permissioning with tests * Satisfy mypy * Add plugins access level to admin and fix org admin * Check plugins access level more * Rename endWithPeriod * Refactor FE access control checks to accessControl.ts * Deduplicate permissioning * Add exception message * Align backend and frontend plugins access level helpers * Add plugins access level helper tests * Fix ChartFilter |
||
---|---|---|
.. | ||
public | ||
src |