1
0
mirror of https://github.com/bitwarden/server synced 2025-12-25 20:53:16 +00:00
Commit Graph

28 Commits

Author SHA1 Message Date
Todd Martin
25cf61190a Add key change fields to view in Bitwarden Portal (#4465) 2024-07-05 16:57:12 -04:00
Conner Turnbull
fc1c488a78 [AC-2567] Billing Performance Improvements (#4143)
* Moved AccountsBilling controller to be owned by Billing

* Added org billing history endpoint

* Updated GetBillingInvoicesAsync to only retrieve paid, open, and uncollectible invoices, and added option to limit results

* Removed invoices and transactions from GetBillingAsync

* Limiting the number of invoices and transactions returned

* Moved Billing models to Billing namespace

* Split billing info and billing history objects

* Removed billing method GetBillingBalanceAndSourceAsync

* Removed unused using

* Cleaned up BillingInfo a bit

* Update migration scripts to use `CREATE OR ALTER` instead of checking for the `OBJECT_ID`

* Applying limit to aggregated invoices after they return from Stripe
2024-06-11 13:55:23 -04:00
Conner Turnbull
1af105a9e2 [BEEEP] Update development and QA dashboard URLs for payment gateways (#3291)
* Update development and QA dashboard URLs for payment gateways

* Refactor gateway URL creation to utility method

---------

Co-authored-by: cyprain-okeke <108260115+cyprain-okeke@users.noreply.github.com>
2023-10-30 14:15:33 -04:00
Todd Martin
0bd0910c39 Add RBAC to Bitwarden Portal (#2853)
* Auth/pm-48 (#2680)

* PM-48 - add user's role as a claim and establish access control service

* PM-48 - remove function unrelated to the role claim

* PM-48 - fix whitespace issues

* PM-48 - move registration of CustomClaimsPrincipalFactory, replace role claim type string with constant, streamline code that retrieves the user's role

* Auth/pm-47 (#2699)

* PM-48 - add user's role as a claim and establish access control service

* PM-48 - remove function unrelated to the role claim

* PM-48 - fix whitespace issues

* PM-47 - add list of permission enums, role:permissions mapping, and function that determines if the logged in user has the given permission

* PM-47 - remove unneeded service registration, set role to lowercase

* PM-47 - fix code style issues

* PM-46 - create permission filter attribute (#2753)

* Auth/pm-54 add rbac for users (#2758)

* PM-54 - add permission gates to User elements

* PM-54 - fix formatting

* PM-54 - remove unused function

* PM-54 - fix variable reference, add permission to billing role

* PM-54 - handle Upgrade Premium button functionality and fix spelling

* PM-54 - change permission name to be more accurate

* PM-49 - update role retrieval (#2779)

* Auth/[PM-50] add rbac for logs (#2782)

* PM-50 - add rbac for logs

* PM-50 - remove unnecessary action filter

* PM-51 - add RBAC for tools (#2799)

* Auth/[pm-52] add rbac providers (#2818)

* PM-52 add rbac for providers

* PM-52 - update redirect action

* PM-52 - add back edit functionality and permission

* PM-52 - reverse changes around removing edit functionality

* PM-52 - moved permission check to variable assignement

* PM-53 - add rbac for organizations (#2798)

* PM-52 - add missed permission to billing role (#2836)

* Fixed merge conflicts.

* [PM-1846] Updates to add RBAC back after merge conflicts (#2870)

* Updates to add RBAC to changes from reseller.

* Added back checks for delete and initiating a trial.

* Removed extraneous Razor tag.

---------

Co-authored-by: dgoodman-bw <109169446+dgoodman-bw@users.noreply.github.com>
Co-authored-by: Danielle Goodman <dgoodman@bitwarden.com>
Co-authored-by: Jacob Fink <jfink@bitwarden.com>
2023-05-04 15:18:49 -04:00
Kyle Spearrin
77f9f5fe72 remove dynamic names from admin confirm dialogs (#1703) 2021-11-09 12:13:23 -05:00
Kyle Spearrin
3b8552b2fa billing info and tx management tools 2019-02-25 12:43:20 -05:00
Kyle Spearrin
7ee8c0a240 add billing info to admin edit page 2019-02-25 10:39:04 -05:00
Kyle Spearrin
ac7c7b5077 move some 2fa logic functions to userService 2018-12-19 10:47:53 -05:00
Kyle Spearrin
cf73b168ee More CanAccessPremium checks 2018-08-28 17:40:08 -04:00
Kyle Spearrin
222d5b2f9d await partial async 2018-08-06 22:40:44 -04:00
Kyle Spearrin
4ce1e39095 PartialAsync 2018-08-06 21:11:23 -04:00
Kyle Spearrin
78af77036b fix braintree customers link 2018-04-07 12:40:13 -04:00
Kyle Spearrin
1a16729064 added org 2fa info to admin pages 2018-04-03 14:43:12 -04:00
Kyle Spearrin
f3904de2bc more user info 2018-03-29 11:27:50 -04:00
Kyle Spearrin
830f4ee68e more org/user info 2018-03-29 11:26:19 -04:00
Kyle Spearrin
1087328248 vault modified 2018-03-24 20:03:51 -04:00
Kyle Spearrin
f07cb3ab07 es6 javascript 2018-03-23 16:30:15 -04:00
Kyle Spearrin
46182e3c90 validation 2018-03-23 16:12:45 -04:00
Kyle Spearrin
bbaafab04b webfonts and styling 2018-03-23 15:51:54 -04:00
Kyle Spearrin
1b313e6df4 Adjust listing link for view/edit 2018-03-23 09:48:36 -04:00
Kyle Spearrin
bd3457fc06 user/org view pages 2018-03-23 09:29:11 -04:00
Kyle Spearrin
ab370b6ca4 CRSF protection on deletes 2018-03-22 21:21:57 -04:00
Kyle Spearrin
e920c8e9d2 org and user info 2018-03-22 21:10:10 -04:00
Kyle Spearrin
7075d8396d some helper functions for users and orgs 2018-03-22 17:33:22 -04:00
Kyle Spearrin
b011b4e970 user edit 2018-03-22 15:50:56 -04:00
Kyle Spearrin
ab3b3c6e40 active page status, org customer select filter 2018-03-21 21:58:14 -04:00
Kyle Spearrin
7475ed7318 organization search page 2018-03-21 17:41:14 -04:00
Kyle Spearrin
67bf801c15 users listing page 2018-03-21 16:24:10 -04:00