Feature Wiki
Tabs
Dedicated permission for adding and editing metadata
Page Overview
[Hide]1 Initial Problem
Editing custom metadata in wikis needs WRITE permission at the time being. But adding and editing metadata is often part of the page authoring process while editing the wiki's setting is more an administrative task. If you want to realise a scenario where wiki authors also should be able to assign custom metadata to their content, you need to give them "Edit Settings" permissions, too. And this is often not desired.
2 Conceptual Summary
A solution would be a dedicated "Add Metadata" permission. It would allow a user to add metadata to a block for custom metadata on a wiki page and to edit existing metadata. It would also allow to hide the metadata section and show it again (» Page Action). But it would not include the permission to create a new metadata set for a wiki in the wiki's settings or edit it.
This permission could be given to a role when realising a scenario like described above. Making this action a part of the "Edit Content" permission is not desirable because there are also scenarios where the description of pages with custom metadata should be done by another group of users than the creating of content.
Relation of "Edit Settings" and "Add Metadata":
- The new permission "Add Metadata" should be a sub-permission of "Edit Settings" and "Edit Settings" should still allow to add and edit metadata.
- "Add Metadata" does not allow to add and edit existing metadata sets in Settings » Metadata of a wiki. To do this "Edit Settings" is needed.
This new permission shall be available in wikis first. But "Add Metadata" should be a general permission that could be implemented by other content modules, too. It includes the permission to edit LOM as well as custom metadata.
3 User Interface Modifications
3.1 List of Affected Views
- Wiki » Settings » Permissions and
- Administration » Roles » Roles / role templates (both for new permission setting)
3.2 User Interface Details
No user interface elements modified, added or removed.
Text labels for wiki implementation (short | long version):
- Add Metadata | Add and edit metadata for wiki page
3.3 New User Interface Concepts
none
4 Technical Information
No technical issues.
5 Contact
- Author of the Request: Kunkel, Matthias [mkunkel]
- Maintainer: Killing, Alexander [alex] for wiki, Meyer, Stefan [smeyer] for RBAC
- Implementation of the feature is done by: {The maintainer must add the name of the implementing developer.}
6 Funding
If you are interest in funding this feature, please add your name and institution to this list.
7 Discussion
Killing, Alexander [alex], 21 Feb 2017: In general I support the request. Question is, if Add Metadata is a good naming since it would not include the permission to create a new metadata sets. That could be confusing. What about Edit Page Metadata? This would also make it clear that the permission is not about the wiki object metadata.
Kunkel, Matthias [mkunkel], March 13, 2017: Thanks, Alex, for this good intervention. 'Edit Page Metadata' is fine for me.
JourFixe, ILIAS [jourfixe]: We highly appreciate this suggestion and schedule it for 5.3. The new permission should be called 'Edit Page Metadata' and be available in Wikis. A separated permission for editing object metadata could be implemented in the future but should not be tackled by this permission. Permission setting for existing wikis should be taken from existing WRITE permissions.
8 Implementation
Test Cases
Test cases completed at 28.08.2017 by ezenzen
- C18813: Globaler Rolle das Recht 'Seitenmetadaten bearbeiten' geben
- C18778: Kursmitglied das Recht 'Seitenmetadaten bearbeiten' geben
- C18779: Seitenmetadaten bearbeiten
Approval
Approved at August 24, 2017, by Kunkel, Matthias [mkunkel]
Last edited: 19. Apr 2023, 12:27, Kunkel, Matthias [mkunkel]