* fix: align the sidebar glyph across workspace views
* style: match the sidebar glyph to the 13px design
* style: balance spacing around the workspace breadcrumb slash
* style: refine the sidebar search icon and field shadow
* style: use the design background color for the sidebar
* fix: keep unread indicators on workspace controls
* feat: add workspace learning resources to sidebar help
* fix: show loading on the workspace being opened
* fix: truncate long application names in the workspace sidebar
* fix: release the workspace picker when navigation completes
* fix: preserve the active workspace when navigation is refused
* feat: redesign sidebar workspace navigation
* feat: redesign the sidebar footer and account menu
Match the account menu to the sidebar prototype and reuse the admin
navigation in a submenu. Keep Add new above the footer while the
application list scrolls.
* fix: show the sortable indicator only when dragging
* feat: refine workspace sidebar application navigation
* feat: reorganize workspace sidebar shortcuts
* fix: isolate workspace sidebar menus and actions
* fix: cancel sortable drops on hidden lists
* fix(enterprise): allow retrying Direct support
* feat: simplify the workspace overview header
* fix: prevent horizontal overflow around the sidebar
Constrain animated tree groups to the width of the sidebar so long labels truncate. On narrow screens, let the sidebar expand over the content instead of reducing the usable page width.
* fix: fit workspace cards and creation menus on mobile
* test: keep the current table selected after reload
* fix: undo and redo edits across expanded sidebar applications
* fix: keep sidebar groups out of the tab order
* fix: highlight the active database in the tables tour
* feat: label workspace integrations in the settings menu
* fix: keep the workspace sidebar and guided tour usable on phones
* fix: undo sidebar row imports in the destination database
* fix: keep the guided tour highlight on the current step
* fix: show an empty state in the workspace picker
* fix: confirm workspace deletion before moving it to trash
* feat: open registered workspace settings tabs from the sidebar
* fix: keep the sidebar logo the same size across workspaces
---------
Co-authored-by: peter_baserow <peter@baserow.io>
* feat(agent): create agents with a two-step setup wizard
The create modal asks for a name and what the agent should do, then reviews
instructions, how it starts, the identity it acts as, permissions and extras.
The choices are applied through the endpoints Configuration uses; a choice
that can't be applied is reported and the agent still opens.
The Run as dropdown can also create an identity. Application types supply
their create modal through getCreateModalComponent.
* feat(agent): add tools, model and identity choices to the create wizard
The wizard gains a third screen for the provider, model, reasoning effort and
web search. Review can create an identity and pick tools one by one. Each
suggestion now fills the whole setup: how the agent starts, its schedule,
permissions, web search and actions.
A new endpoint lists the tools an agent created in a workspace can be given,
so they can be picked before the agent exists. The provider, model and effort
fields are one component shared by Configuration and the wizard.
* fix(agent): choose the wizard identity role from workspace tools
* fix(agent): address create wizard review
Skip locked tools in the permission presets, create the identity before
the agent so a rejected name stops the wizard, number suggestion names,
select the prefilled name, report models that can't search the web, show
a failed tools request and fix the Read only icon.
* fix(agent): address second create wizard review
Give a new identity Builder when the agent may change data, reuse the
identity a failed create made, explain why web search stays off and pass
the workspace to the tool picker.
* feat: introduce User-backed workspace identities
Replaces workspace core.Agent subjects with identities stored as Django
Users, so permissions, execution and attribution use the same record.
- User.objects and WorkspaceUser.objects are human-only; permission and
identity code opts in through objects_and_identities. is_human and
is_identity classify a user at runtime.
- Login, tokens, seats, notification recipients, personal views and
last-admin checks stay human-only. Roles, teams and field grants work
for identities unchanged.
- Agent applications run as an identity, never as a person. Every shared
tool rechecks the identity's authority on each call, and MCP refuses a
tool that skips that boundary.
- Migrations add the profile metadata and index, remove the Agent model
and delete or clear legacy Agent data: trash entries, role assignments,
team memberships, integration authorizations and run-as bindings.
- Rename the management API, UI, events and feature flag to identity.
Squashed and rebased onto develop; the previous history is kept on
backup/6556-before-develop-rebase.
* refactor: remove generic subject options endpoint
* refactor: simplify identity selection and Agent run-as options
* feat: distinguish identity notification senders
* fix: restrict identity bindings to identity managers
* docs: record users and identities verification
* fix: restore snapshots as the person restoring
A restore checked the snapshot creator's permission and used the creator
to decide whether an Agent keeps its identity binding. It now checks the
person restoring, passed to the import as `restored_by`. `copied_by` stays
unset on restore, so credential checks keyed on it behave as on develop.
Restoring a snapshot whose creator was deleted works again. The copy rule
for identity bindings covers Agent run-as only; a copied Local Baserow
integration keeps its authorized subject.
* fix: leave settings pages the user may not open
A settings route without a permitted tab rendered an empty page, as the
Identities page did with its feature flag off. It now opens the first
page the user may see.
* fix: renumber the legacy Agent cleanup migrations
Develop added agent 0016 and integrations 0043, so the migrations that
clear legacy Agent run-as bindings and integration authorizations move to
agent 0017 and integrations 0044.
* test(agent): run the trigger self-event test as an identity
The test added on develop created a `core.Agent`, which this branch
removes. It now uses an identity user as the Agent's run-as subject.
* perf: load user types once per batched permission check
* refactor: state the stored subjects in each subject type
* fix: give every user a profile
* fix: keep identity attribution on rows copied in their workspace
* refactor: give people and identities their own subject type
UserSubjectType stays the type both are registered and stored under. It forwards what differs to HumanSubjectType and IdentitySubjectType, so get_specific_type is the only place in subject code that inspects the user type. The registry returns the specific type on request and get_by_model keeps returning the stored type, which never reads the profile.
An identity's membership is checked in one query instead of two.
* fix: keep the roles of identities when a database is duplicated
The role import read subjects through the model's default manager, which only returns people, so duplicating or restoring a database failed when an identity held a role on it. It now resolves the subject through the subject registry.
A subject that no longer exists is skipped instead of failing the whole duplicate or restore.
* refactor: look up a subject type from its content type in one place
* fix: reload a cached token whose profile is incomplete
A token cached by the previous release has a profile without the user type, which reads as not a person, so its requests were refused until the entry expired. The token cache now treats it as a miss, with the check the user cache already used.
* refactor: check the user type once where the check was repeated
The MCP endpoint loader, the personal view permission manager and the identity trash type each asked the same question several times. The rule that an identity is never selected by email moves from the team handler to the identity subject type.
* refactor: leave trashed workspaces out of the identity membership manager
WorkspaceUser.objects_and_identities was named after objects but also returned memberships of trashed workspaces, so callers filtered them by hand. It now follows the existing pair: it leaves trashed workspaces out, and objects_and_identities_and_trash includes them, as objects_and_trash does for people.
* test: state the behaviour of every user type
The table fails when a user type is added and says what has to be decided first. An unknown type is checked to be denied.
* refactor: refuse to say whether a stored user subject is interactive
The answer differs between a person and an identity, so reading it from the stored type would be wrong for one of them. It now raises and points to the specific type.
* refactor: lock the person in membership writes instead of checking the type
Leaving a workspace, removing a member and adding a user lock the user through the people manager, which refuses an identity or an unknown type in the same query. Nothing adds an identity through add_user_to_workspace, so its branch for identities goes. The last admin check compares the membership with the people who are admin, which needs no type check.
* test: leave no rows behind in the legacy authorization migration test
The test left an integration that pointed at a user that didn't exist and a workspace, in the database the migration tests share. Tests that ran after it then failed on the foreign key or on the workspace id. It now uses a real user and empties the two tables.
* docs: describe the subject types and compare the Subject table alternative
ADR 013 is shorter and states that people and identities each have a specific subject type under the stored auth.User type. It compares shared User storage with a Subject table that users and identities would both point to.
* chore: run the legacy run-as cleanup after the agent actions migration
Develop added agent migration 0017, so the cleanup becomes 0018 and depends on it.
* test: leave no rows behind in the legacy agent migration tests
Like the legacy authorization test, these left a workspace in the database the migration tests share, which a later test that creates workspaces with fixed ids collides with.
* fix: write and read the workspace role of an identity in one place
The role assignment API wrote the role of an identity through the membership update of people, which told every member of the workspace about it and stored Builder as MEMBER, while the identities API stored BUILDER and returned the stored value. Both now write through the identity handler, which stores the role like the role of a person, and the role is read with the resolver the workspace members use.
* fix: take no row lock in the membership writes of a person
Leaving a workspace locked the user before the membership while removing or updating a member locks the membership first, so the two could deadlock. The user type never changes and these operations refuse an identity, so the lock protected nothing: they now only check that the user is a person. Leaving no longer locks the admin memberships and removing a member no longer checks for the last admin, as before identities.
* fix: find an identity by its name only in the subject options
The search also matched the email and username, which for an identity hold an internal key, so searching a part of that key returned every identity.
* chore: run the identity migrations after the new ones on develop
Develop added core 0138, integrations 0044 and enterprise 0073, so the identity migrations become core 0139 and 0140, integrations 0045 and enterprise 0074 and depend on them.
* fix: keep the identity of a copied integration only for identity managers
A duplicated application or a restored snapshot kept the identity its Local Baserow integration acts as, without checking the person who made the copy. Restoring a snapshot could so bring back a binding an admin had removed. The copy now keeps the identity only when that person may bind identities, as the Agent application already did, and is otherwise authorized as that person.
* docs: follow the renumbered migrations and the copy rule in the test plan
The test plan named the identity migrations and their tests by their old numbers and still said a copied integration keeps its subject.
* test(agent): run the row trigger tests as an identity
The row trigger tests added on develop created a `core.Agent`, which this
branch removes. They now use an identity user as the Agent's run-as
subject, and the e2e fixture creates it through the identities endpoint.
* feat(agent): count pending approvals per application and conversation
* feat(agent): show waiting approvals in the sidebar, header and conversation list
* feat(agent): always allow a held tool from the approval
* feat(agent): add Always allow and the ask before changes switch
* fix(agent): read pending counts from the primary and lock the conversation first
* test(agent): run approval test actions through the action registry
* test(agent): read the decision result in the web search approval test
* test(agent): let the waiting conversations request start before answering it
* fix(agent): keep older waiting conversations through a reconnect
* perf(agent): count pending approvals for many users and conversations at once
The core hook takes many users and returns counts per user and application, so
creating or restoring an Agent and the count task count once for all members
instead of once per member; the task sends every count in one broadcast.
Pending approvals are defined once, and a page of conversations gets its counts
in one query passed to the serializer, like its runs, instead of an annotation
with a per-object fallback.
* refactor(agent): return one decision result and name the count signal after its event
The service and the action both return the decision result, which carries the
approved and rejected tools, so they are computed once for the audit params and
Always allow. Always allow bumps the Agent's updated_on like a configuration
update. The signal is renamed application_pending_count_updated, like its
websocket event.
* fix(agent): keep the deciding tab's waiting counts current
A decision lowers the Agent's count before its request and restores it when the
request fails, unless the call was decided elsewhere. Its conversation count
goes through the tracked update, so a list read that started earlier restarts
instead of bringing the old count back. The pill adds only the waiting
conversations it hadn't loaded, and leaves a conversation picked while it loads
selected.
* chore(agent): describe the ask switch and drop the unused counter class
The ask switch is described by its text and the row separator is hidden from
screen readers. The sidebar no longer adds tree__action--has-counter, whose
padding --has-options already sets.
* test: give fixture fields unique default names
Two fields of one table could get the same random name, so a formula
referencing the other field referenced itself and failed with
SelfReferenceFieldDependencyError.
* refactor(agent): show the sidebar count with the warning counter
The admin Templates count added badge-counter--warning, so the Agent's count
uses it too instead of its own yellow color prop on BadgeCounter.
* fix(agent): reconcile approval counts and cycle loaded conversations
* fix(agent): name the tools Always allow stops asking for
* fix(agent): load older pages until the pill reaches a waiting conversation
* show who effectively has access in the share dialog
* optimise the effective access query
* add a loading spinner for the effective access too
* fix: navigate inherited access within the sharing modal
* fix: restore invitation popup and scrollable access lists
* fix: return accurate team counts in scope access lists
* refactor: centralize subject avatar rendering and styling
* fix: keep team counts in field permissions and restore template icons
---------
Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
* feat: align management pages with the refreshed table design
* feat: refresh agent dialogs using shared UI components
* test: cover refreshed management pages and agent dialogs
* fix: use the standard UI modal for agent management
* feat: expand member rows with available role details
* Revert "feat: expand member rows with available role details"
This reverts commit e0516c6ce43896508b918db10b028f1cdf88c29b.
* docs: show scoped member roles in CrudTable stories
* fix: align tab labels with badges
* fix: define management role icons in the role registry
* fix: reuse shared name abbreviations in management tables
* style: format management tables and tabs for CI
* test: preserve agent totals and tab badges after rebase
* feat: scaffold Agent Builder applications and empty agents
* chore: defer Agent Builder changelog until feature flag removal
* refactor: represent each agent as a workspace application
* fix: complete Agent application rollout safeguards
* fix: use the designed robot icon for Agent applications
* refactor: gate only Agent application creation
* refactor: keep Agent scaffold on standard shared behavior
* fix(agent): load workspace access before opening from overview
* refactor(agent): align enterprise feature naming
* refactor(agent): retain application stylesheet name
* refactor(agent): move application scaffold into open source
* fix(agent): hide the empty Agents sidebar group while creation is disabled
* test(agent): keep only Agent-specific scaffold tests
Generic application behaviour is already covered by core tests, and the
branch has no enterprise code, so the enterprise tests are removed.
* refactor(agent): define the agent-builder flag with the other flags
* chore(agent): type Agent application hooks and tidy flag docs
* fix(agent): support the purple item icon color
* fix(agent): use the shared application type keys for Agent names
The export and import dialogs read `applicationType.<type>s`, so Agent
groups showed the raw key.
* fix(agent): hide the Agent type filter while creation is disabled
All workspaces now only offers the application types that can be
created, so Agent stays out of the filter while the flag is off.
* fix(agent): use a singular Agent search subtitle
* test(agent): cover Agent creation with the flag enabled
* refactor(agent): match the Agent search type to Dashboard
The backend already filters results by read permission, and the Agent
route checks access when it opens.
* refactor(agent): drop the unreachable sidebar creation check
The only link that opens the modal already checks `canBeCreated()`.
* fix(agent): drop the Enterprise-only hint from the empty Agent page
Managing access needs Enterprise, so the text was wrong elsewhere.
* refactor(agent): drop the default allowed_fields from the Agent type
* feat(agent): track when Agents were last viewed
Opening an Agent now loads it from `GET /api/agent/<id>/`, which marks it
viewed like the load endpoints of the other application types.
* Feature flagged: display an error style on a builder and automation application, and then its settings, if an integration is in error.
* Show the error message in a tooltip
* fix: merge duplicate integration error methods after rebase on develop
* Tweak the error message
* test: give the live integration fixture an authorized subject
* Minor recent workspace homepage changes
* Add kuma to dashboard recent homepage
* cleaned up further and made `isAssistantAvailable` reuable
* Fixed feedback
* feat: add instance AI provider management
* fix: simplify AI provider testing
* fix: remove extra model list spacing
* fix: show AI provider form errors inline
* fix: use icons for AI provider row actions
* fix: place model errors before help text
* chore: polish code
* fix: address feedback
* fix: address remaining frontend CI failures
* fix nuxt.test.config for saas
* add .nuxtrc
* Enhance Nuxt configuration to ignore sourcemaps from node_modules
* Add nuxt-prepare command to docker-entrypoint.sh for generating .nuxt directory
* Refactor license.vue to use Composition API
* Add korean language support
* Add impersonate middleware to dashboard and workspace pages
* Mount local backend/media folder in docker-compose for Caddy to serve uploaded files during development
* Fix invitation related issues
* Update email configuration for local development with Mailhog integration
* Add moment-guess to optimizeDeps in Nuxt configuration to pre-bundle and avoid missing source map warnings
* Refactor login components to use Composition API and improve routing structure for login pages
* Update sidebar user context to conditionally display workspace creation option based on user permissions
* Centralize locale definitions in a new config file
* please linter
* Preparing for WA beta.
* Reintroducing Instance.compat_type to ensure that we still support our old node types for compat reasons.
* Revert the periodic type name.
* Post rebase linting
* Show the automation settings modal, but only show the General sidepanel in development.
* Fix e2e test