-
Notifications
You must be signed in to change notification settings - Fork 19
IBX-10854: Added ability to hide content item drafts #667
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
base: 4.6
Are you sure you want to change the base?
Changes from all commits
b3e7707
37f717f
70d5de8
2f5ff0e
79d1d5d
7ec84c3
082cdc4
bdcfc49
510f0fc
17caab8
f4ed055
ecb639f
bc5306c
d82173c
a2b9550
b2ffb94
8a4ab35
c6617ff
17173e9
57300ea
14e3fdd
c2ea69b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Note These are legacy integration tests, we shouldn't expand it but rather use
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sorry, this confuses me. So new integration tests should extend |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right. Fixed in ca2b306.
Unsure if it 100% safe to have
$targets=[]in parameter tocanUser()though, but seems to work fine for me when I test with limitation oncontent/hidepolicy@Steveb-p
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explanation of what happens when
$targets=[]is addressed in #667 (comment)@Steveb-p