Skip to content

Extend nest_update_badges.py to handle OWASP project leader badges via EntityMember model #2892

@arkid15r

Description

@arkid15r

Is your feature request related to a problem? Please describe.
Currently, the backend management command nest_update_badges.py only handles badge assignment for users with the OWASP staff role. Project leaders, despite their significance, do not receive the appropriate "OWASP project leader" badge through this logic. This limits recognition for project leadership roles in the community.

Describe the solution you'd like
Enhance nest_update_badges.py so that it assigns project leader badges for all users in the database with the project leader role. This should use the EntityMember model, identifying all records where role = LEADER. Badge assignment should cover every project leader present in the database, ensuring the badge is displayed accordingly.

Are you going to work on implementing this?

  • Yes
  • No

Additional context

  • The system already assigns badges for staff via this command; logic for project leaders should be added in a similar pattern.
  • Related models: EntityMember with the LEADER role value.
  • Ensure future extensibility for other roles as well.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions