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
LPS-57634 #2290
LPS-57634 #2290
Conversation
…exicon designs in info panel
@hhuijser @daledotshan @bejondshao Sorry for the late review, but I am having a very hard time on understanding what this is. Could you please clean it up a bit and resend with some explanation? For example, I see some generated code like this:
And eventually, inlinePermissionEnabledGroupIds or inlinePermissionNotEnabledGroupIds will be converted back to groupIds, why are we making this many unnecessary conversion? And the "List filterResults" is even more confusing, it used to be fallback to non-filter finder calls when inline permission is off, but seem right now it gets 2 sources of query results, won't that be duplicated? Anyway, this pull is very confusing to me, please refine the logic to make it cleaner. Thanks Shuyang |
Hi Shuyangzhou, @hhuijser , @daledotshan , Let's take DDMStructurePersistenceImpl.java as example.
The issue of LPS-57634 is that when there are more than one groups in the groupIds, portal do "!InlineSQLHelperUtil.isEnabled(groupIds)" checking for the whole groupIds, to decide if use non-filter finder or not. This is not comprehensive. It will only use non-filter finder when permissionCheck is groupAdcmin of all groups. It will use filter finder when permissionCheck is not groupAdmin of all groups. If permissionCheck is groupAdmin of one group, doing filter finder would return nothing. So this causes site admin can't view structure. So I check groupId one by one and spilt them into two parts. Would you reconsider it? If you think use list to array is not good, would you give me a suggestion for it? Thanks |
No description provided.