Skip to content

Implement daily badge sync job #1763

Closed
Closed

Description

@arkid15r

Is your feature request related to a problem? Please describe.

We want to introduce user badges to OWASP Nest. These badges will represent different roles or achievements (e.g., OWASP employee, project leader, chapter leader).

Describe the solution you'd like

Create a periodic job that runs daily (after the user sync job) to populate user badges.

The logic for assigning the "OWASP Employee" badge should work as follows:
If a user has is_owasp_employee = True, they should receive the "OWASP Employee" badge.
If is_owasp_employee = False, the badge should be removed (if previously assigned).

The badge (with name, description, and css class) should be auto-created if it doesn’t already exist.
Make sure the job is idempotent and can be safely run multiple times.
Add tests to cover badge assignment logic.

Are you going to work on implementing this?

  • Yes
  • No

Additional context

Depends on #1762

Activity

  1. changed the title [-]Daily badge sync job[/-] [+]Implement daily badge sync job[/+] on Jul 20, 2025
  2. PAVAN-VANAM commented on Jul 21, 2025

    @PAVAN-VANAM

    Hello! I'm interested in working on Issue #1763, focusing on the daily badge sync job. I'd appreciate it if you could assign me this PR. Thank you!

  3. arkid15r commented on Jul 21, 2025

    @arkid15r
    CollaboratorAuthor

    @PAVAN-VANAM maybe after #1762 is done

  4. shandilya-rajnandini commented on Jul 22, 2025

    @shandilya-rajnandini

    I am interested in working on this issue and would like to contribute to solving it. As I am new, I would appreciate it if you could kindly assign it to me. I’m eager to learn and will do my best to resolve the problem.

  5. arkid15r commented on Jul 22, 2025

    @arkid15r
    CollaboratorAuthor

    I am interested in working on this issue and would like to contribute to solving it. As I am new, I would appreciate it if you could kindly assign it to me. I’m eager to learn and will do my best to resolve the problem.

    I suggest starting from level-1 task in this case.

  6. sathwikshetty33 commented on Jul 24, 2025

    @sathwikshetty33
    Contributor

    @arkid15r I have good hands on expereince working with open source especially with django and have worked on perodic cron jobs frequently, I would like contirbute to this please assign me this issue

  7. shivnshshrma commented on Jul 26, 2025

    @shivnshshrma
    Contributor

    Hey @arkid15r
    I saw that the #1762 is done by @PAVAN-VANAM and @kasya has also authorized that commit.
    Now could you please assign this task to me?

    PS: Complete setup of this project on my local device is done and had also resolved a level 1 just get the hang of this project.

  8. arkid15r commented on Jul 30, 2025

    @arkid15r
    CollaboratorAuthor

    The #1762 still hasn't been done and became available.

    @sathwikshetty33 are you still interested and could cover both tasks?

  9. sathwikshetty33 commented on Jul 30, 2025

    @sathwikshetty33
    Contributor

    hey @arkid15r I would love to work on both the issues, Please assign me both !

  10. SaiBharadwaja570 commented on Aug 8, 2025

    @SaiBharadwaja570
    Contributor

    Hey @arkid15r , can I work on this issue?

  11. Dhirajsharma2060 commented on Aug 9, 2025

    @Dhirajsharma2060
    Contributor

    Hello @arkid15r,

    I have noted that #1762 has been completed and merged, thereby unblocking this task.
    I am available to commence work immediately and can implement the daily badge sync job with the specified logic, ensuring idempotency and comprehensive test coverage.

    Kindly assign this issue to me so that I may proceed.

    Thank you.

  12. moved this from Backlog to In progress in Project Neston Aug 9, 2025
  13. sathwikshetty33 commented on Aug 10, 2025

    @sathwikshetty33
    Contributor

    @arkid15r you had said earlier to assign both these tasks but after completion of #1762 ...

  14. Dhirajsharma2060 commented on Aug 10, 2025

    @Dhirajsharma2060
    Contributor

    @sathwikshetty33 so is that task completed or not #1762 , if not why is it closed ??

  15. sathwikshetty33 commented on Aug 10, 2025

    @sathwikshetty33
    Contributor

    @sathwikshetty33 so is that task completed or not #1762 , if not why is it closed ??

    It is completed and merged

  16. arkid15r commented on Aug 10, 2025

    @arkid15r
    CollaboratorAuthor

    @sathwikshetty33 I'm not sure what's your question here -- could you add more details?

  17. sathwikshetty33 commented on Aug 11, 2025

    @sathwikshetty33
    Contributor

    The #1762 still hasn't been done and became available.

    @sathwikshetty33 are you still interested and could cover both tasks?

    @arkid15r We had discussion stating that after I complete #1762 you would assign me this Quoted above.
    Never mind if this issue is not completed please assign me this.

  18. arkid15r commented on Aug 11, 2025

    @arkid15r
    CollaboratorAuthor

    This is @Dhirajsharma2060's issue now, please check for more available issues here.

  19. arkid15r commented on Sep 1, 2025

    @arkid15r
    CollaboratorAuthor

    Addressed in #2047

  20. moved this from In progress to Done in Project Neston Sep 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions