Skip to content
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

EasyCLA Bug Report: Confusing project information in new administrator notice #3498

Open
1 task
jberkus opened this issue Apr 6, 2022 · 21 comments
Open
1 task
Assignees
Labels
bug Something isn't working CNCF CommunityReported

Comments

@jberkus
Copy link

jberkus commented Apr 6, 2022

Summary

When new administrators are notified via email of their status, the project named in the notification email is incorrect.

Background

  1. Added a new administrator for Red Hat, project CNCF.
  2. The new admin received an email that said this:

"You have been added as a CLA Manager for the organization Red Hat, Inc. and the project OpenTelemetry. This means that you can now maintain the list of employees allowed to contribute to the project OpenTelemetry on behalf of your company, as well as view and manage the list of your company’s CLA Managers for the CLA Group Cloud Native Computing Foundation (CNCF)."

This is incorrect; the added administrator has permissions over signers for the entire CNCF (which they should). Nor are there any specific permissions associated with the OpenTelemetry project.

Expected behavior

The email should have said:

"You have been added as a CLA Manager for the organization Red Hat, Inc. for the CLA Group Cloud Native Computing Foundation (CNCF)."

A clear and concise description of what you expected to happen.

Environment

Please complete the following information:

  • Environment:
    • PROD
    • [ ]
  • Browser:
    • Not applicable
@jberkus jberkus added the bug Something isn't working label Apr 6, 2022
@jberkus
Copy link
Author

jberkus commented Apr 6, 2022

This appears to be a more general bug where any email about our CNCF-level permissions gets attributed to OpenTelemetry instead. We just got another email:

This is a notification email from EasyCLA regarding the project OpenTelemetry.

q () has been removed as a CLA Manager from Red Hat, Inc. for the project OpenTelemetry.

@WillsonHG
Copy link
Member

This has been added to our tracker and we will be investigating the issue.

@mlehotskylf
Copy link
Contributor

@jberkus we believe this issue has been resolved. Can you please confirm this issue is no longer occurring?
Thank you!

@mlehotskylf
Copy link
Contributor

@jberkus please let us know, if no response in one week this ticket will be closed automatically. Thank you for understanding.

@jberkus
Copy link
Author

jberkus commented May 14, 2024

I cannot verify it at this time, given that it requires adding or removing an administrator, something that we can only do when staffing is actually changing.

@thakurveerendras
Copy link
Contributor

@mlehotskylf , @nickmango , The Issue is still reproducible as reported on the dev site. Kindly update the email text as mentioned in expected section above

image

@jberkus
Copy link
Author

jberkus commented May 23, 2024

This is still broken.

I just had to remove an administrator today, and got the attached:

image

@nickmango
Copy link
Collaborator

Noted @jberkus . Will have this updated

nickmango added a commit to nickmango/easycla that referenced this issue May 29, 2024
- Resolved email body to feature the right project name for cla manager addition and removal

Signed-off-by: Harold Wanyama <hwanyama@contractor.linuxfoundation.org>
nickmango added a commit that referenced this issue May 30, 2024
@nickmango
Copy link
Collaborator

@thakurveerendras kindly verify this
context is the cla_group_id has to be signed at the foundation level..(at least there has to be association between foundation and cla_group, which should be the case for the Sun project)

@thakurveerendras
Copy link
Contributor

Tested on dev site & found that proper (parent) project name appears while added/deleted PM from enrolled child project

Refer to the screenshot

image
image

@nickmango
Copy link
Collaborator

@jberkus this was resolved and tested internally.. Whenever you get an opportunity you can verify on your end. Thanks

@jberkus
Copy link
Author

jberkus commented Jun 28, 2024

Will do. I can only test it by adding/removing an administrator, which is not something I can casually do without informing management.

@jberkus
Copy link
Author

jberkus commented Aug 21, 2024

This has still not been fixed. I added a new admin for CNCF, and this is the notice I got:

Hello ,

This is a notification email from EasyCLA regarding the project OpenTelemetry associated with the CLA Group Cloud Native Computing Foundation (CNCF).

The following user has been added as a CLA Manager from Red Hat, Inc. for the project OpenTelemetry. This means that they can now maintain the list of employees allowed to contribute to OpenTelemetry on behalf of your company, as well as view and manage the list of company’s CLA Managers for OpenTelemetry.

@mlehotskylf
Copy link
Contributor

Thank you @jberkus for letting us know and sorry for the delay. We will take a look at this shortly.

nickmango added a commit to nickmango/easycla that referenced this issue Nov 27, 2024
- Used CLA Group Name in the add/remove CLA Manager notification email

Signed-off-by: Nick Mango <wanyaland+nickmango@gmail.com>
nickmango added a commit that referenced this issue Nov 27, 2024
@nickmango
Copy link
Collaborator

@thakurveerendras kindly review.

@thakurveerendras
Copy link
Contributor

Hi @nickmango
Cla-group name is wrong for the child project in the email, it is showing the parent project cla-group name

  • Parent project: SUN,

CLA-Group name: Sun foundation cla group.

  • Child project: Earth,

CLA-Group name: earth child cla group

I have added cla-manager to child project & mail received for foundation project
image
image

@mlehotskylf
Copy link
Contributor

@nickmango is working on PR. @thakurveerendras please re-verify once merged.

nickmango added a commit to nickmango/easycla that referenced this issue Dec 3, 2024
- Updated CLA Group update

Signed-off-by: Nick Mango <wanyaland+nickmango@gmail.com>
nickmango added a commit that referenced this issue Dec 3, 2024
@nickmango
Copy link
Collaborator

@thakurveerendras Kindly reverify - focus on child projects has been deprecated and CLA Group Naming will be used in the email body

@thakurveerendras
Copy link
Contributor

Hello @nickmango , @mlehotskylf
It is still failing for the notice received at the existing cla-manager on the child project

Project: CLA-Manger Email Subject Status Screenshot
Parent project : SUN - Existing cla-manger EasyCLA: CLA Manager Added Notice for Sun foundation cla group Passed image
Parent project: SUN -Newly added cla-manager EasyCLA: CLA Manager Added Notice for Sun foundation cla group Passed image
Child project: Earth - Existing cla-manger EasyCLA: CLA Manager Added Notice for earth child cla group Failed: SUN project cla-group details appears image
Child project: Earth -Newly added cla-manager EasyCLA: Added as CLA Manager for Project :earth child cla group Passed image

nickmango added a commit to nickmango/easycla that referenced this issue Dec 4, 2024
- Updated email params on cla group for cla managers

Signed-off-by: Nick Mango <wanyaland+nickmango@gmail.com>
nickmango added a commit that referenced this issue Dec 4, 2024
@nickmango
Copy link
Collaborator

@thakurveerendras kindly review

@thakurveerendras
Copy link
Contributor

Hello @nickmango
Tested failed case & found that it is working fine, So updating this ticket status

Refer to the screenshot
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CNCF CommunityReported
Projects
None yet
Development

No branches or pull requests

6 participants