PhoenixKitWeb.Live.Components.LibrarySettings (phoenix_kit v2.40.1)

Copy Markdown View Source

The profile's Media tab (/profile/settings/media): the signed-in user's storage libraries (V203).

  • create one (with storage.create_library, up to the per-user limit)
  • rename, make the default, trash (the owner; a manager may rename)
  • members: add by email, change a role, remove (the owner or a manager)
  • leave a library someone else shared

Browsing and uploading are /admin/libraries. Every action goes through PhoenixKit.Modules.Storage.Libraries, which re-checks who may do it; what this component hides is a courtesy, not the boundary.

Messages are shown inside the component: a LiveComponent's put_flash never reaches the page.