1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-22 21:45:15 -05:00

17 Commits

Author SHA1 Message Date
Oscar Hinton
23b0a1f9df
Run dotnet format (#1764) 2021-12-16 15:35:09 +01:00
Oscar Hinton
63f6dd9a24
Move request/response models (#1754) 2021-12-14 16:05:07 +01:00
Oscar Hinton
f6ebb20847
[Provider] Add support for events (#1447) 2021-07-15 16:37:27 +02:00
Oscar Hinton
feb3106f37
[Provider] Create and access child organizations (#1427) 2021-07-08 17:05:32 +02:00
Matt Gibson
edd4bc2623
Add disable send policy (#1130)
* Add Disable Send policy

* Test DisableSend policy

* PR Review

* Update tests for using CurrentContext

This required making an interface for CurrentContext and mocking out
the members used. The interface can be expanded as needed for tests.

I moved CurrentContext to a folder, which changes the namespace
and causes a lot of file touches, but most are just adding a reference

* Fix failing test

* Update exemption to include all exempt users

* Move all CurrentContext usages to ICurrentContext

* PR review. Match messaging with Web
2021-02-04 12:54:21 -06:00
Addison Beck
63fcdc1418
Implemented Custom role and permissions (#1057)
* Implemented Custom role and permissions

* Converted permissions columns to a json blob

* Code review fixes for Permissions

* sql build fix

* Update Permissions.cs

* formatting

* Update IOrganizationService.cs

* reworked a conditional

* built out tests for relevant organization service methods

* removed unused usings

* fixed a broken test and a bad empty string init

* removed 'Attribute' from some attribute instances
2021-01-12 11:02:39 -05:00
Chad Scharf
9800b752c0 Changed all C# control flow block statements to include space between keyword and open paren 2020-03-27 14:36:37 -04:00
Kyle Spearrin
fa463843bb change permission checks on cipher events 2019-04-05 22:59:03 -04:00
Kyle Spearrin
043de76aa8 make sure user has access to cipher 2017-12-18 10:41:44 -05:00
Kyle Spearrin
ed636ae18c added org user and cipher event APIs 2017-12-15 15:50:50 -05:00
Kyle Spearrin
125eab11dc event paging 2017-12-15 15:23:57 -05:00
Kyle Spearrin
79d46578b0 handle UTC dates properly for events 2017-12-15 12:24:32 -05:00
Kyle Spearrin
2c4ce27ef2 fixes to event get APIs 2017-12-14 15:04:20 -05:00
Kyle Spearrin
f8f8eb5411 user event route update 2017-12-14 13:27:52 -05:00
Kyle Spearrin
2a757a39b9 org event route update 2017-12-14 13:27:27 -05:00
Kyle Spearrin
7cd50eccf0 swap dates if start > end 2017-12-14 13:24:26 -05:00
Kyle Spearrin
adc23bf007 stub out API for events 2017-12-14 12:33:50 -05:00