Class: User
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- User
- Includes:
- OpenLoam::GeneratedKey
- Defined in:
- lib/generators/open_loam/install/templates/user.rb
Overview
Minimal actor model. Deliberately NOT tenant-scoped: a user can belong to
many tenants via OpenLoam::Membership (role is per tenant). Swap in your real
auth (Devise, OmniAuth, SSO) later — OpenLoam only needs an id and, for the
bundled admin login, something that answers authenticate_by.