1
0
mirror of https://github.com/owncloud/ocis.git synced 2026-10-23 23:29:02 +03:00
Files
Matteo 380273bb84 Feat/ocisdev 949/disable direct sharing (#12542)
* build(deps): [OCISDEV-949] bump reva to v2.0.0-20260709150645-a9d5432e6f7f

Includes owncloud/reva#651, which adds the enable_user_sharing and
enable_public_sharing config options this feature depends on.

* feat: [OCISDEV-949] add options to disable direct and public sharing

Adds two independent, per-deployment config options:

- OCIS_ENABLE_USER_SHARING (default true), read by the frontend, graph,
  sharing and ocm services. When false, creating new user, group or
  federated shares is rejected (via reva's usershareprovider and
  ocmshareprovider, and via the graph Invite endpoint for the modern web
  client), the legacy sharees search endpoint returns no results, and
  the files_sharing.user.enabled / user_enumeration.enabled capabilities
  report false so the web UI hides the "share with people" search.
  Space membership invites are exempt.

- OCIS_ENABLE_PUBLIC_SHARING (default true), read by the frontend and
  sharing services. When false, creating new public links is rejected
  via reva's publicshareprovider, and files_sharing.public.enabled
  reports false so the web UI hides public link creation.

The two settings are fully independent of each other.
2026-07-10 11:59:08 +02:00
..

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

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

Documentation