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

Add admin role and user management #785

Merged
merged 6 commits into from
Apr 29, 2023
Merged

Add admin role and user management #785

merged 6 commits into from
Apr 29, 2023

Conversation

VMelnalksnis
Copy link
Owner

@VMelnalksnis VMelnalksnis commented Apr 29, 2023

Changes proposed in this pull request:

  • Add administrator role
  • Add initial admin user
  • Add ability users in the administrator role to disable user accounts
  • Show unreleased changes in changelog

@VMelnalksnis VMelnalksnis added type:enhancement New feature or request area:api labels Apr 29, 2023
@VMelnalksnis VMelnalksnis force-pushed the user-management branch 2 times, most recently from dc6c7ee to 036ea72 Compare April 29, 2023 07:47
@codecov
Copy link

codecov bot commented Apr 29, 2023

Codecov Report

Merging #785 (3207270) into master (47020bb) will increase coverage by 0.43%.
The diff coverage is 80.72%.

@@            Coverage Diff             @@
##           master     #785      +/-   ##
==========================================
+ Coverage   73.74%   74.17%   +0.43%     
==========================================
  Files         329      337       +8     
  Lines        9471     9611     +140     
==========================================
+ Hits         6984     7129     +145     
+ Misses       2487     2482       -5     
Impacted Files Coverage Δ
...e/Gnomeshade.WebApi/Areas/Admin/Pages/Index.cshtml 0.00% <0.00%> (ø)
...nomeshade.WebApi/Areas/Admin/Pages/Index.cshtml.cs 0.00% <0.00%> (ø)
...eas/Identity/Pages/Account/ExternalLogin.cshtml.cs 13.46% <ø> (ø)
...ebApi/Areas/Identity/Pages/Account/Login.cshtml.cs 74.28% <ø> (+34.28%) ⬆️
...reas/Identity/Pages/Account/LoginWith2Fa.cshtml.cs 30.76% <ø> (ø)
...tity/Pages/Account/LoginWithRecoveryCode.cshtml.cs 34.28% <ø> (ø)
...pi/Areas/Identity/Pages/Account/Register.cshtml.cs 27.27% <ø> (ø)
...n/StartupFilters/DatabaseMigrationStartupFilter.cs 100.00% <ø> (ø)
...ade.WebApi/Areas/Admin/Pages/Users/Index.cshtml.cs 69.44% <69.44%> (ø)
...iguration/StartupFilters/AdminUserStartupFilter.cs 75.36% <75.36%> (ø)
... and 12 more

... and 3 files with indirect coverage changes

@VMelnalksnis VMelnalksnis force-pushed the user-management branch 2 times, most recently from b5ce897 to 37e82da Compare April 29, 2023 09:31
@VMelnalksnis VMelnalksnis marked this pull request as ready for review April 29, 2023 09:54
@VMelnalksnis VMelnalksnis merged commit 3207270 into master Apr 29, 2023
12 checks passed
@VMelnalksnis VMelnalksnis deleted the user-management branch April 29, 2023 11:29
@VMelnalksnis VMelnalksnis temporarily deployed to github-pages April 29, 2023 11:29 — with GitHub Pages Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:api type:enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant