Closed ldidry closed 4 months ago
Duplicate of #1487 .
Even if you get an error message it is not user friendly and confusing. It is better to redirect to the login with a friendly message like "Please login to review the bounces for list xyz.". So I suggest to close https://github.com/sympa-community/sympa/issues/1487 and reopen this issue.
+1
We are running into the same bug, but it is not just in this specific case - it happens in many different "access denied" cases, in fact I believe it is most cases.
For example: Login as a moderator, but not an owner. Try to access any of the list settings pages, many of which are still available in the nav menu. You always get the same empty red dialog box.
Please apply this patch (against 6.2.72) and check if the problem will be solved.
Sorry to say, the patch had no effect, at least on the specific case we're seeing. (Login as an editor but not an owner, try to access any list settings pages.) I did not test any other cases.
@adam12b1 , please apply this additional patch and try again.
Hooray, looks like that fixed it, thanks!
Version
6.2.72
Installation method
Release tarball
Expected behavior
When going to https://example.org/sympa/reviewbouncing/list while being unauthenticated, I should get a "You need to login" message.
Actual behavior
I have a red box, used for error messages, but with no error message in it.
Steps to reproduce
Go to https://example.org/sympa/reviewbouncing/list while being not authenticated
Additional information
Here’s the relevant wwsympa’s log: