Skip to content

dev/core#1400 Users with 'view own cases' permission can't open resolved cases #19666

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

Merged
merged 1 commit into from
Feb 26, 2021

Conversation

kainuk
Copy link
Contributor

@kainuk kainuk commented Feb 24, 2021

Overview

The discussion about this PR is found in issue https://lab.civicrm.org/dev/core/-/issues/1400.
Steps to reproduce in https://lab.civicrm.org/dev/core/-/issues/2409 .
The discussion is still open but for some organisations this creates a real problem. They can use this PR.

@civibot
Copy link

civibot bot commented Feb 24, 2021

(Standard links)

@demeritcowboy
Copy link
Contributor

Thanks @kainuk have added #19674 and then followup #19675 to address the change this causes for dashlets.

jenkins retest this please.

@eileenmcnaughton
Copy link
Contributor

So my take on what is going on is that you think this should be merged @demeritcowboy and then you would like @kainuk to review your 2 follow ups - if that is the case can you confirm & @kainuk can you remove WIP?

@demeritcowboy
Copy link
Contributor

While I'd like to find out what changed to cause this problem, removing 'any' appears to be a way to fix the problem that only seems to affect the dashlets, and in any case (double pun) there doesn't seem to be a reason for 'any' to be in this line (i.e. semantically why would asking for type='any' add a restriction).

I do have one hesitation in that the My Cases dashlet has other problems, but that's both before and after this, it just might be a clue as to the real problem.

@demeritcowboy
Copy link
Contributor

In my testing this goes back much farther than 5.12 as indicated in the ticket, and even predates the dashlet(?!) So yes I think can remove WIP here and it's mergeable and dashlet problems are something completely different.

@eileenmcnaughton eileenmcnaughton changed the title dev/core#1400 Users with 'view own cases' permission can't open resolved cases [WIP] dev/core#1400 Users with 'view own cases' permission can't open resolved cases Feb 26, 2021
@eileenmcnaughton
Copy link
Contributor

OK - done

@eileenmcnaughton eileenmcnaughton merged commit 534804a into civicrm:master Feb 26, 2021
@demeritcowboy
Copy link
Contributor

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants