<henninge> sinzui: I am trying to triage bug 462891
<henninge> sinzui: the oops happens when trying to access user/preferredemail/email
<sinzui> it is not visible
<sinzui> the app genuinely does not have permission to see it
<henninge> sinzui: does that happen when the user hides his/her email address?
<henninge> sinzui: although I tried that and it did not reproduce
<sinzui> henninge: Yes. In many mail/login usage, we use something link removeSecurityProxy(user.preferredemail).email
<sinzui> henninge: in this tales example. we simply do not have permission to show it. we should not
<henninge> sinzui: ok
<henninge> sinzui: is there an easy way to check in tales if we have that permission of not?
<sinzui> |nothing helps
<sinzui> it swallows exceptions
<henninge> sinzui: good idea, thanks
<sinzui> henninge: in tales you might also do
<sinzui> <tal:visible-email
<sinzui> condition="context/owner/preferredemail/required:launchpad.View">
<sinzui> (<span tal:replace="context/owner/preferredemail/email" />)
<sinzui> </tal:visible-email>
<henninge> sinzui: cool, thanks
<henninge> sinzui: I am trying to triage bug 462891 mail/email roxy(user. preferredemail) .email "context/ owner/preferred email/required: launchpad. View"> "context/ owner/preferred email/email" />) email>
<henninge> sinzui: the oops happens when trying to access user/preferrede
<sinzui> it is not visible
<sinzui> the app genuinely does not have permission to see it
<henninge> sinzui: does that happen when the user hides his/her email address?
<henninge> sinzui: although I tried that and it did not reproduce
<sinzui> henninge: Yes. In many mail/login usage, we use something link removeSecurityP
<sinzui> henninge: in this tales example. we simply do not have permission to show it. we should not
<henninge> sinzui: ok
<henninge> sinzui: is there an easy way to check in tales if we have that permission of not?
<sinzui> |nothing helps
<sinzui> it swallows exceptions
<henninge> sinzui: good idea, thanks
<sinzui> henninge: in tales you might also do
<sinzui> <tal:visible-email
<sinzui> condition=
<sinzui> (<span tal:replace=
<sinzui> </tal:visible-
<henninge> sinzui: cool, thanks