WarUI

Shared and scoped views with permissions metadata

GRID-A21-F22P2beyond-baselinePlanned

Extends saved views with scopes (personal, team and global) and with ownership and read-only metadata, so that organisations can publish curated views while users keep private ones. Permission enforcement is the responsibility of the app's server. The grid honours the metadata in its API and UI.

Planned. This page shows the specification from issue #201. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

A view list containing personal, team and global views, with a simulated current user and a role switcher.

Expected behavior

A member applies the team view and tries to update it, and the action is blocked with an explanation and an offer to save a copy. After switching the role to lead, the update succeeds and a stateChange event is emitted to other simulated clients.

Planned API surface

SavedView.scopeSavedView.ownerSavedView.readOnlyviews.publish(id, scope)views.copy(id)canEditView callback

Acceptance criteria

  • Update and remove are rejected client-side when canEditView returns false, and the rejection is reported via a promise rejection with a documented error code. (pending)
  • Copying a view creates a personal view with a new id and a provenance reference to the original. (pending)
  • Scoped views pass through the same privacy policy before being published. (pending)
  • The view list groups views by scope in a stable order. (pending)
  • Updates to shared views made elsewhere are reflected through adapter.list() refreshes or push notifications. (pending)