Feature Wiki

Information about planned and released features

Tabs

New Permission to Edit File using WOPI

1 Initial Problem

The "Implement WOPI for File-Editing" feature  currently foresees that editing a file via WOPI is tied to the write permission on the file object. This is not flexible enough for the usage scenarios in some cases, so we would introduce a new permission "Allow external editing". By default (for new file objects), the right is given to the same persons who are given the write permission on the file object.

2 Conceptual Summary

The new permission can be granted independently of other permissions. The following should be noted:

  • To be able to edit a file effectively, a person must have "Read", "Visible" and the new permission "Allow external editing".
  • In connection with the "Use IRSS-Draft-Revisions for WOPI Edited Files" feature, a person must also have the "Write" right in order to be able to publish a draft.

3 User Interface Modifications

3.1 List of Affected Views

  • File-Object -> Permissions: the new Permission "Allow external editing" is shown everywhere where permissions of file-objects can be edited.
  • Administration -> Role and Permissions: the new Permission "Allow external editing" is shown everywhere where permissions of file-objects can be edited.

3.2 User Interface Details

None

3.3 New User Interface Concepts

None

3.4 Accessibility Implications

None

4 Technical Information

None

5 Privacy

No new data is collected, stored or processed. No changes to: https://github.com/ILIAS-eLearning/ILIAS/blob/trunk/Modules/File/PRIVACY.md

6 Security

The rights are examined centrally in connection with RBAC

7 Contact

8 Funding

If you are interest in funding this feature, please add your name and institution to this list.

  • FernUniversität in Hagen
  • Erziehungsdepartement Basel-Stadt

9 Discussion

Kunkel, Matthias [mkunkel], 03 JUL 2023: A few comments and questions:

  • My preferred label for the new permission would be 'Edit File' because that's what it entitles to. Adding 'external' to the label confuses more than it helps.
  • Will this new permission still be included within the permission 'Edit Settings' or is it separated from it?
  • Will 'Edit File' be part of the given default permissions to course and group members? In this case, we have to extend all related role templates and update all existing roles (where file permissions are given in general).

JourFixe, ILIAS [jourfixe], 10 JUL 2023 : We highly appreciate this suggestion and schedule the feature for ILIAS 9. We prefer the title 'Edit File' for the new permission. This permission should be separated from Edit Settings. All existing permissions in templates and objects should be updated when changing to ILIAS 9 and all roles with 'Edit Settings' for files get the additional permission 'Edit File' (to be placed above 'Edit Settings').

10 Implementation

The feature is additionally documented in the feature request Implement WOPI for File-Editing.

The new right "Edit File" can be configured via the right tab. In addition, the "Edit File" permission is added to all roles that currently have the "Edit Settings" permission for files.

Test Cases

The feature is covered by the test cases of the feature request Implement WOPI for File-Editing.

Privacy

Information in privacy.md of component: no change required

Approval

Approved at 24.10.2023 by Fréquelin, Fabrice [frequelin], FernUniversität in Hagen

Last edited: 24. Oct 2023, 10:22, Fréquelin, Fabrice [frequelin]