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

Backend [Unit Test] db/config.go UserHasManageBountyRoles, UserHasAccess, CheckUser, & RolesCheck #1605

Merged
merged 2 commits into from
Mar 13, 2024

Conversation

AbdulWahab3181
Copy link
Contributor

Describe your changes

Added UTs for UserHasManageBountyRoles, UserHasAccess, CheckUser, and RolesCheck methods inside database config

Issue ticket number and link

Closes #1562

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have tested on Chrome and Firefox
  • I have tested on a mobile device
  • I have provided a screenshot or recording of changes in my PR if there were updates to the frontend

@AbdulWahab3181 AbdulWahab3181 marked this pull request as ready for review March 12, 2024 19:38
@elraphty
Copy link
Contributor

@AbdulWahab3181 your change to db.database.UserHasAccess breaks the user access management

Loom Video

https://www.loom.com/share/45eb34f868e1499a93db14aa6b304014

@AbdulWahab3181
Copy link
Contributor Author

@elraphty Resolved

@elraphty elraphty merged commit 580aab8 into stakwork:master Mar 13, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Backend [Unit Test] db/config.go UserHasManageBountyRoles, UserHasAccess, CheckUser, & RolesCheck
2 participants