Content items Moderation #18518
Replies: 4 comments 1 reply
-
|
Maybe the "IContentHandler" is the answer, I'll check. |
Beta Was this translation helpful? Give feedback.
-
|
ContentHandler for Loading/Loaded just happens, I can't manipulate the context. |
Beta Was this translation helpful? Give feedback.
-
|
Do you have a minimal repo? I think you could filter the items based on the moderation status, this could be done easily if you have an index |
Beta Was this translation helpful? Give feedback.
-
|
@hishamco The index is present, but without the purpose=) I mean to filter them for any kind of retrieving.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a requirement to implement a moderation for the content items.
It is not for particular content type, but for any type, that have a ModerationPart in it.
Moderation part have some Status and Comments fields.
I've implemented such a module, and figured out how to show it only for Moderator role (with ContentPartDisplayDriver), that can later edit it.
But the problem is in filtering out content items, that were not moderated or moderation is not passed.
I'm talking about GraphQL and RestAPI, how to not show items in the results via these API's, that has a ModerationPart and not allowed by it?
Already tried "AuthorizationHandler" without a luck,
Thank you for any help.
Beta Was this translation helpful? Give feedback.
All reactions