View Source API Reference ex_membership v1.0.3
Modules
Main Membership module for including macros
Feature is main representation of a single feature flag assigned to a plan
Member is a main actor for determining features
Service this will store the member state
MemberFeatures is the association linking the member to the feature you can also set specific features for the membership
MemberPlans is the association linking the member to the plan you can also set specific features for the membership
MemberFeatures is the association linking the member to the feature you can also set specific features for the membership
Service Supervisor this will supervise the memberships
Service this will store the member state
Module Permissions Supervisor this will supervise the permissions
Plan is main representation of a single plan
Plan this will store/fetch the {plan, features} into ets
Ecto repository
Role is main representation of feature flags assigned to a role
Role this will store/fetch the {role, features} into ets
Mix Tasks
After configuring your default ecto repo in :ecto_repos
Run mix Membership.install to generates a setup_membership_tables
migration,
which Membership tables, as well as required indexes.