datumforge / datum

Datum's central server
https://datum.net
Apache License 2.0
53 stars 7 forks source link

feat: features, entitlements, and entitlement plans + cli updates #1058

Closed golanglemonade closed 1 week ago

golanglemonade commented 1 week ago

Breaking Change

Some of the query names were changed in the client in order to have consistency across all functions:

Get<Object>ByID: filters by ID GetAll<Object>s: no filter, get all the user has access to Get<Object>s: includes an optional where filter

New/Updated Schemas

Create an Entitlement:

go run cmd/cli/main.go entitlement create -o 01J1B21PZ27GM940P1ATE62RMM -p01J1B1V9MC3S9360569WHSSJ9Z 
  ID                          PLANID                      PLANNAME  ORGANIZATIONID              ORGANIZATIONNAME  EXPIRESAT  EXPIRES  CANCELLED  
  01J1B277FG5GWZ6R29NE3VN179  01J1B1V9MC3S9360569WHSSJ9Z  starter   01J1B21PZ27GM940P1ATE62RMM  funkytown2        <nil>      false    false 

Other Changes

sonarcloud[bot] commented 1 week ago

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint