Skip to content

Commit e84a637

Browse files
authored
MUG: Add CURATIONS_MODERATION_ROLE and update CURATIONS_PRIVILEGED_ROLES (#55)
1 parent a1ac430 commit e84a637

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

themes/MUG/invenio.cfg

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -247,12 +247,11 @@ REQUESTS_FACETS = {
247247
"status": {"facet": curations_facets.status, "ui": {"field": "status"}},
248248
}
249249

250-
# Roles that are exempted from curation workflow
251-
CURATIONS_PRIVILEGED_ROLES = [
252-
"administration",
253-
"bypass-curation",
254-
"administration-rdm-records-curation",
255-
]
250+
CURATIONS_MODERATION_ROLE = "administration-rdm-records-curation"
251+
"""ID of the Role used for record curation."""
252+
253+
CURATIONS_PRIVILEGED_ROLES = ["administration", "bypass-curation"]
254+
"""Roles that are exempted from curation workflow and can publish without request for review."""
256255

257256
RDM_PERMISSION_POLICY = CurationRDMRecordPermissionPolicy
258257

0 commit comments

Comments
 (0)