storj/satellite/console
Qweder93 8be655c487 satellite/metainfo: add segment limit validation, caching
We want to be able to limit the number of segments per project for users.
To limit this we need to check limit value associated with project
and value of used segments already in BeginMoveObject, BeginMoveSegment
and increment cache segments usage after each CommitSegment call.

Resolves https://github.com/storj/team-metainfo/issues/1

Change-Id: I6290e67c095a174b9d101c4521802d9bfe0453b8
2022-01-10 14:33:26 +02:00
..
consoleauth all: fix linter complaints 2020-10-13 15:59:01 +03:00
consolewasm satellite/console: add more tests for uplink access permission 2021-06-23 11:58:29 +00:00
consoleweb satellite/metainfo: add segment limit validation, caching 2022-01-10 14:33:26 +02:00
wasm satellite/wasm: support restricting full access grants to paths 2021-03-26 19:49:21 +00:00
apikeys_test.go satellite/satellitedb: select user_agent in apikeys method GetPagedByProjectID 2022-01-03 11:58:26 -05:00
apikeys.go satellite/{satellitedb,attribution,console}: value attribution changes that add userAgent field to buckets table and all tables that have partner_id 2021-10-18 13:56:19 +00:00
attribution_test.go satellite/buckets: add new buckets service 2021-11-16 12:36:17 +02:00
auth.go all: fix error naming 2021-04-29 15:38:21 +03:00
billinghistoryitem.go satellite/payments: available coupon value feature 2020-06-02 10:00:45 +00:00
buckets.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
database.go satellite: remove referral program related code 2021-02-08 13:52:50 +00:00
mfa.go satellite/{console,satellitedb}: Forbid creating users with used email 2021-12-15 17:24:35 +00:00
projectmembers_test.go all: remove old uuid 2020-04-02 19:30:36 +03:00
projectmembers.go all: add missing dots 2020-08-11 17:50:01 +03:00
projects_test.go satellite/{admin,console}: Move tests 2021-10-01 12:25:37 +00:00
projects.go satellite/console: Disable segment limit checking during project update 2021-12-23 14:35:45 -05:00
projectusagelimits.go satellite/{console,satellitedb}: add project segment limit to user 2021-12-16 08:46:01 +00:00
recaptcha_test.go satellite/console: Forward friendly registration errors to client 2021-07-22 11:31:12 +00:00
recaptcha.go satellite/console: Add reCAPTCHA verification step to registration 2021-07-07 21:34:07 +00:00
registrationtoken.go all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
request.go audit logging: log important user activity 2020-09-07 15:26:34 +00:00
resetpasswordtoken_test.go all: fix linter complaints 2020-10-13 15:59:01 +03:00
resetpasswordtoken.go all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
service_test.go satellite/console: Disable segment limit checking during project update 2021-12-23 14:35:45 -05:00
service.go satellite/console: Disable segment limit checking during project update 2021-12-23 14:35:45 -05:00
sortdirection.go all: fix comments 2020-07-16 19:13:14 +03:00
users_test.go satellite/{console,satellitedb}: add project segment limit to user 2021-12-16 08:46:01 +00:00
users.go satellite/{console,satellitedb}: add project segment limit to user 2021-12-16 08:46:01 +00:00
validation.go all: fix error naming 2021-04-29 15:38:21 +03:00