* fix(admin-settings): prevent deleting your own account (#12657)
In the user management, the account you are currently logged in as could
be selected and included in a delete action, even though the backend
always rejects self-deletion. Deleting a selection that included your own
account produced a "Failed to delete 1 user" error and made your own row
temporarily disappear from the list until the page was refreshed.
The delete action now excludes the current user from the request, so all
other selected users are deleted while your own account is left
untouched. When your own account is part of the selection, the delete
confirmation dialog shows a hint that it will not be deleted.
(cherry picked from commit 898f89c697)
ownCloud Web
ownCloud Web is the next-generation frontend for ownCloud Infinite Scale, built as a single-page application with Vue.js and TypeScript. It provides a modern, accessible and themeable user interface for managing files, sharing, real-time collaboration and administration -- designed to be extensible through a plugin-based architecture that allows third-party developers to build custom apps and extensions.
Getting Started
Set up a local development environment for ownCloud Web:
Prerequisites
- Node.js (LTS recommended)
- pnpm
- Docker Compose (for backend)
For the complete development setup, see the setup guide.
Structure
The web/packages directory contains the core modules:
- client -- Generated TypeScript client for the oCIS Graph API
- container -- Static assets and base files
- extension-sdk -- Utilities for developing custom extensions
- pkg -- Shared logic used across the codebase
- runtime -- Authentication, routing, theming and application handling
Built-in apps (also in web/packages):
- files -- Core file sync-and-share functionality
- admin-settings -- User, group and space administration
- activities -- Activity stream
- app-store -- Browse and install extensions
- epub-reader -- Ebook file viewer
- external -- WOPI-based document editing (Collabora, ONLYOFFICE)
- pdf-viewer -- PDF file viewer
- preview -- Audio, video and image previewer
- text-editor -- Plain text editor