Sensetif / sensetif-app-plugin

The Grafana Application Plugin for the Sensetif platform.
Apache License 2.0
0 stars 0 forks source link

Limits on users' resources #17

Closed niclash closed 11 months ago

niclash commented 3 years ago

In the initial draft for billing, I have speculated with the following parameters;

Even before Billing is implemented, see issue #18, we need to put in the limit checks in Configurations and simply create the Organization with the "Free Tier" limits as defaults. That makes transition into paid tiers natural and no special "migrate early users" mechanisms needed.

niclash commented 3 years ago

Limit on number of projects has been added, but not tested.

niclash commented 2 years ago

We are fetching "PlanLimits" in AppRootPage now. The following visual effects should be handled;

In DataPointForm;

  1. Min PollInterval to only have the Minimum and Longer values.
  2. Max Storage time, only show periods shorter than (inclusive) of...
niclash commented 2 years ago

We don't handle "permissions" field in PlanLimits in module.ts. There are a series of permissions

    ttnv3subscribe,
    mqttSubscribe,
    mqttPublish,
    pushToPlcAction,
    postToHttpAction,
    pushToTtnAction;

Only mqttSubscribe has any relevance at the moment. If not present, then should not show the MQTT tab in "Datapoints".