33 Commits
Author SHA1 Message Date
Peter Evans 8faff70f75 feat: invite people to a team with a permanent link (#6640) 2026-11-17 14:24:22 +00:00
Przemyslaw Kukulski 91df1115d3 feat: review user templates from the admin page, with an approval setting (#6549)
* feat: review user templates from the admin page, with an approval setting

* Review feedback

* Review feedback 2

* Review feedback 3
2026-11-10 12:27:38 +01:00
Peter EvansandJeremie Pardou 0c162eb466 feat: show each member, team and agent roles on Members tables (#6467)
* show each member's, team's and agent's roles on databases, tables and views

* Adding a loading state to the role assignment role selector. Also ensure that the parent row's highest role is correctly refreshed.

* fix: give CRUD row expansion its own column

* fix: stabilize management table columns with configurable layouts

---------

Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
2026-10-28 14:29:03 +00:00
Peter Evans 9d00998e70 fix: polish the share dialog and members page (#6493) 2026-10-24 22:29:18 +02:00
Jonathan Adeline af125616d1 feat: refresh workspace members, invites, teams and agents pages (#6306)
* 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
2026-10-22 17:06:02 +04:00
Jonathan Adeline 985f1a26fb feat: redesign CrudTable with expandable rows and improved empty states (#6292)
* test: add CrudTable Storybook states

* feat: refresh shared CrudTable design and empty states

* feat: add expandable CrudTable rows with scoped details

* fix: center CrudTable pagination and improve empty state actions

* feat: add helpful empty states for teams members and invites

* fix: isolate CrudTable cell bindings and distinguish empty pages

* test: update view admin assertions for CrudTable row groups

* docs: demonstrate scoped member roles in CrudTable stories

* docs: simplify expandable CrudTable stories

* docs: consolidate narrow CrudTable stories

* docs: remove CrudTable development guide

* feat: demonstrate role removal in CrudTable stories
2026-10-21 20:04:54 +04:00
Jérémie Pardou ad80341c03 feat: add Agent subject type (#5851)
* Add workspace Agents and permission management

* fix: remove all duplicate team subject memberships

* fix: align agent team role inheritance with users

* fix: delegate workspace role storage to subject types

* fix: preserve agent team memberships through trash

* Fix migration conflict

* fix: save agent settings pages independently

* fix: preserve agent roles across license changes

* fix: stabilize agent list pagination

* fix: filter agent websocket events by list permission

* fix: authorize agent team membership changes

* fix: serialize concurrent agent team updates

* fix: refresh agent teams through realtime events

* fix: restrict personal views to user subjects

* fix: deny agents with unavailable roles

* fix: exclude agents in trashed workspaces

* test: cover permanent agent access cleanup

* fix: gate agents in team selectors

* fix: accept trash option for preview actors

* fix: set native agent form button types

* fix: ignore stale agent modal saves

* fix: show permitted agent management actions

* fix: validate subject lookup fields

* perf: optimize batched user membership checks

* perf: cache agent team feature per list

* fix: map agent nonmember API errors

* fix: document paginated agent API schema

* fix: stabilize agent API schema operations

* fix: show agent name validation errors

* fix: show total agent count

* test: cover agent creation submissions

* test: cover agent and subject UI behavior

* docs: define direct subject role contracts

* fix: clarify team access management

* fix: use standard empty agents table

* fix: align agent name column styling

* refactor: move agent trash import

* refactor: align agent extension registry naming

* fix: recover agent team selector loading

* fix: validate every subject in role batches

* fix: ignore stale agent list responses

* perf: index recent team subjects

* fix: restore role handler imports

* Fix lint

* fix: reuse prefetched user memberships

* fix: preserve low priority role fallback

* fix: preserve trashed field permission subjects

* fix: open team picker when agent loading fails

* Fix tests
2026-09-21 16:32:32 +02:00
Bram 42371d6beb feat: Add skeleton loading animation and make pages load instantly (#6023) 2026-09-09 11:03:03 +02:00
Bram 1fd27d407c feat: Added admin views listing (#5751) 2026-07-22 16:30:17 +02:00
alamin-br 4ded9a7d37 Allow instance admins to manage users' 2FA state (#5517)
* feat: add password-free TwoFactorAuthHandler.disable_for_user

* feat: add UserAdminHandler.disable_user_two_factor_auth

* feat: add AdminDisableTwoFactorAuthActionType for audit logging

* feat: expose two_factor_auth status in admin users list

* feat: add admin endpoint to remove a user's two-factor authentication

* feat: show 2FA status column in admin users table

* feat: allow admins to remove a user's 2FA from the edit user modal

* chore: add changelog entry for admin 2FA management

* style: add styling for the remove 2FA link in the edit user modal

* fix: correct admin users 2FA column width and edit-modal layout

Give the new 2FA column an explicit width so it no longer sizes to its
content and pushes the row past the container, which had clipped the
rightmost "Highest Role" badge.

Wrap the edit modal's 2FA badge and remove link in a centered flex row
with a gap, and tighten the link so it aligns with the badge instead of
out-weighing the primary Save action.

* fix(review): register AdminDisableTwoFactorAuthActionType in apps.py

The new admin 2FA-removal action type was not registered in the action
type registry like every sibling user action. Audit log entries were
still created (the action_done signal carries the type directly), but the
action was absent from the enterprise audit-log export filter choices
(action_type_registry.get_types()) and unresolvable via the registry.
Register it alongside the other user action types and add a regression
test asserting it is registered.

* fix: show admin users active state as an icon only to free column space

Drop the "Active"/"Deactivated" text label from each row and keep just
the status icon (with a tooltip), so the table reclaims horizontal space
and the enterprise "Highest Role" billable badge is no longer clipped.
Both states keep an icon. Also drop the 2FA column width override, which
over-reserved space without helping.

* test: parametrize admin user password and name validation tests

Collapse the three password-validation tests and the two name-length
tests into test.each cases. Same coverage, less duplication, and a new
validation case only needs another data row.

* fix(review): annotate 2FA serializer schema and document 403

- Add @extend_schema_field(TwoFactorAuthSerializer) to get_two_factor_auth
  so the OpenAPI spec reflects the {type, is_enabled} shape instead of a
  bare object.
- Make the empty-provider case an explicit {} return rather than relying on
  TwoFactorAuthSerializer(None).data, which only yields {} because both
  fields are read_only.
- Document the 403 response on the admin two-factor-auth DELETE endpoint
  (IsAdminUser returns 403 for authenticated non-staff users).

* test: cover admin 2FA self-removal and modal error path

Add a backend test asserting an admin can remove their own 2FA (the
handler intentionally allows self-removal since it can't lock anyone
out), locking in that behavior against a future self-modification guard.

Add a frontend test for the DisableTwoFactorAuthModal failure path: on a
non-204 response the error surfaces in the modal and the optimistic row
clear is not applied, so the 2FA badge stays as-is.

* fix(review): drop misleading 2FA required marker and document empty schema

- Remove required attribute from the read-only 2FA FormGroup in UserForm
  (it wraps a display badge, not an input, so the indicator misled admins).
- Annotate get_two_factor_auth with a raw OpenAPI object schema that omits
  required, so the empty {} (no provider) case is valid while still
  documenting the {type, is_enabled} shape. Response data is unchanged.

* fix(review): null 2FA state, register 2FA actions, trim raises doc

- Return null (not {}) from get_two_factor_auth when no provider is
  configured; document the field as a nullable typed object. Propagated to
  admin/enterprise tests, EditUserModal optimistic update, and the user
  fixture. Make TwoFactorAuthField null-safe so the cell tolerates null.
- Register the pre-existing ConfigureTwoFactorAuthActionType and
  DisableTwoFactorAuthActionType so they appear in the audit-log dropdown.
- Drop the TwoFactorAuthNotConfigured :raises from disable(); it is raised by
  disable_for_user, which already documents it.
2026-06-22 15:34:37 +02:00
Jonathan Adeline 552ce22d16 chore: Bump to Nuxt4 (#5197) 2026-06-17 16:10:09 +04:00
Bram a1528edb03 chore: Add crud table body slot (#5428) 2026-06-05 21:04:37 +00:00
Bram c69ce2f4fe feat: Data scanner (#4955) 2026-03-24 11:30:54 +01:00
dimmur-brw c46be3919a Replace $el with refs in GridView (#4803) 2026-02-19 11:21:44 +01:00
Bram 3aee185274 Fix unobserve element error by replacing with disconnect (#4813) 2026-02-18 23:00:46 +01:00
716d43a9a8 Nuxt 3 migration (#4342)
Update the nuxt3 version.

Co-authored-by: Jonathan Adeline <jonathan@baserow.io>
Co-authored-by: Bram Wiepjes <bramw@protonmail.com>
Co-authored-by: Cezary <cezary@baserow.io>
Co-authored-by: Tsering Paljor <tsering@baserow.io>
Co-authored-by: Przemyslaw Kukulski <przemyslaw+gh@baserow.io>
Co-authored-by: Bram <bram2w@users.noreply.github.com>
2026-01-22 10:27:19 +01:00
Petr Stříbný aee3aedf19 Add 2fa information to workspace users admin (#4184) 2025-11-14 14:51:03 +01:00
Bram Wiepjes 9839900628 Small admin user management improvements 2024-07-24 08:50:36 +00:00
Jonathan Adeline df738083a6 FormGroup FormInput FormTextarea refactoring 2024-07-05 09:35:08 +00:00
Jonathan Adeline 98f14aae60 Refactor pagination 2024-01-08 06:53:42 +00:00
Jonathan Adeline 0548a90a2f Restyle input and textarea 2023-11-15 05:25:06 +00:00
Jonathan Adeline 4321aaea9a Replace icons 2023-09-28 13:39:41 +00:00
Bram Wiepjes 3e1affb8f6 Resolve "Traditional (non-native) CMD/CTRL + F search doesn't work on dashboard" 2023-09-25 12:10:21 +00:00
Petr Stribny 4aa56a2409 Add search shortcut to other screens 2023-08-02 08:21:53 +00:00
Nigel Gott 33baa1d956 Resolve "Fix inviting member whilst on invite page causing crash" 2023-07-17 08:55:39 +00:00
Petr Stribny ea44b47d3d Resolve "Bump frontend deps" 2023-04-28 10:56:33 +00:00
Nigel Gott 50babde42a Show row count and file usage in group premium admin page 2023-03-07 08:53:34 +00:00
Davide Silvestri bab7cc44a1 Resolve "Audit log" 2023-01-16 14:40:12 +00:00
Alexander Haller aa70d78614 RBAC Help Icons 2022-12-29 13:59:10 +00:00
Peter Evans 85a8302770 Merge branch '1377-add-teams-column-to-members-table' into 'develop'
Add "Teams" column to the Members table.

Closes #1377

See merge request bramw/baserow!1109
2022-12-14 10:54:16 +00:00
Peter Evans 71b10bdfd3 Add "Teams" column to the Members table. 2022-12-14 10:54:16 +00:00
Peter Evans 806c198840 Resolve "Prevent right clicking on TeamsTable rows as a BUILDER/EDITOR." 2022-12-05 09:22:42 +00:00
Jeremie Pardou-Piquemal 210c02085d Add RBAC to Baserow. 2022-10-28 18:45:34 +01:00