zitadel/internal/admin/repository/features.go
Livio Amstutz a4763b1e4c
feat: features (#1427)
* features

* features

* features

* fix json tags

* add features handler to auth

* mocks for tests

* add setup step

* fixes

* add featurelist to auth api

* grandfather state and typos

* typo

* merge new-eventstore

* fix login policy tests

* label policy in features

* audit log retention
2021-03-25 17:26:21 +01:00

13 lines
313 B
Go

package repository
import (
"context"
features_model "github.com/caos/zitadel/internal/features/model"
)
type FeaturesRepository interface {
GetDefaultFeatures(ctx context.Context) (*features_model.FeaturesView, error)
GetOrgFeatures(ctx context.Context, id string) (*features_model.FeaturesView, error)
}