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

Ban user functionality #101

Merged
merged 2 commits into from
Jul 13, 2024
Merged

Conversation

celestebyte
Copy link
Contributor

What kind of change does this PR introduce?

This PR adds the functionality to ban a user using the admin or stateless client.

What is the current behavior?

Add properties to set BanDuration and BannedUtil to verify the datetime of the ban applied to the user. The information was submitted in issue #100

What is the new behavior?

Added a way to ban a user using property BanDuration and retrieving the information of banned user in property BannedUtil.

Defined unit testing passing
image

Added new test to show the functionality of banning a user and lifting the ban.
image

Additional context

Also I updated the projects from Net7 (deprecated) to .Net8 (LTS).

If any other change is required let me know and I can work it 😊

Add properties to set BanDuration on update user and BannedUtil to verify the datetime of the ban applied to the user. Updated the projects from .Net7 to .Net8 (LTS).
@acupofjose
Copy link
Collaborator

Looks great to me - thanks @celestebyte!

@acupofjose acupofjose merged commit 9d3bbdb into supabase-community:master Jul 13, 2024
1 check 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.

2 participants