IBX-10854: Added ability to hide content item drafts#667
Conversation
alongosz
left a comment
There was a problem hiding this comment.
AFAIR this is by-design. There's no purpose to hiding content drafts because content drafts can be read by people with versionread policy, the same as hidden content can be accessed. Are you trying to fix some fatal error or enable hiding drafts? TL;DR;.
yes, it is. If you don't want content to be visible at time of publishing.
@alongosz edited.... |
|
There was a problem hiding this comment.
Doesn't this mean, with this change, that for drafts every user has ability to hide & reveal?
Because we won't be checking permission resolver for drafts.
There was a problem hiding this comment.
Explanation of what happens when $targets=[] is addressed in #667 (comment)
|
@vidarl please make sure #667 (comment) is addressed, PR is rebased and the CI lits green. |
acbb2d8 to
ca2b306
Compare
@konradoboza |
e6a3f58 to
6671254
Compare
91fd72c to
af81e00
Compare
|
|
@alongosz, @konradoboza, @Steveb-p : Can you have a new look on this one. I think all review comments has been addressed |
3e36e6e to
ca88c8c
Compare
|
a8709d3 to
c2ea69b
Compare
c2ea69b to
80a7dc1
Compare
|



It is not possible to publish content in hidden state
For QA:
Note
Edited by @alongosz
Requires security testing, e.g., if user who doesn't have hide/reveal permissions is now able to do it.
Documentation: