Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Samk13 opened this issue Nov 1, 2024 · 1 comment
Assignees
Labels
Proposal: Pending Proposal for new RFC, pending triage

Comments

@Samk13
Copy link
Member

Samk13 commented Nov 1, 2024

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:

  • Enforce Closed Review Policy: When the "Require Community on Publish" feature is enabled, enforce a closed review policy across all communities to guarantee that the mandatory review process is followed.
  • UI Adjustments: Modify the interface to hide or disable community creation and review policy options for users who lack the necessary community-creator role.
  • Community Creator Role: Establish a new role, "Community Creator," to restrict community creation privileges to selected, authorized users only.
  • Eliminate the requirement for instance-level permission overrides

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 Samk13 added the Proposal: Pending Proposal for new RFC, pending triage label Nov 1, 2024
@Samk13
Copy link
Member Author

Samk13 commented Nov 4, 2024

Closing to keep the discussion on the same 183

@Samk13 Samk13 closed this as completed Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Proposal: Pending Proposal for new RFC, pending triage
Projects
None yet
Development

No branches or pull requests

5 participants