inveniosoftware / rfcs

RFCs for Invenio.
https://rfcs.readthedocs.io
4 stars 15 forks source link

[Proposal] Introduce `Community Creator` Role and Enforce Conditional Closed Review Policy in Invenio-Communities #90

Closed Samk13 closed 2 weeks ago

Samk13 commented 3 weeks ago

Motivation

Why are we doing this? What user stories does it support? What is the expected outcome?

Purpose:

Certain organizations require all records to undergo a mandatory review process before publishing. Currently, any user can create communities and set the review policy to "open," which bypasses this mandatory review requirement without instance-level overrides.

Objective:

The goal is to ensure that community managers strictly adhere to organizational rules, minimizing the risk of human error and eliminating the need for instance-level permission overrides that complicate maintainability. Previouse to invenio-rdm-records V15.6. overrides were needed on the instance level for both records and community permissions, the community permissions override still exists and should be removed.

Solution:

Introduce a community-creator role that limits community creation capabilities exclusively to authorized users. While these users will act as community managers, they will not have unrestricted control over community membership policies (e.g., they cannot set an open acceptance policy without review). This ensures compliance with organizational rules.

Summary

What are you proposing to change (high-level overview only)?

Proposed Changes:

For more details see: 183

Resources

Which resources do you have available to implement this RFC and what is your overall timeline?

Development Effort: Available to implement the remaining features.

Note: Creating a new RFC is a moderated process. Your request will be reviewed by the Invenio Architects on their weekly meeting. This is to aid scoping the RFC and avoid duplication of RFCs. If accepted, an architect is assigned to your RFC as your point-of-contact, and the architect will support you in writing the RFC.

Samk13 commented 2 weeks ago

Closing to keep the discussion on the same 183