Class: Perka::Model::AbstractUser
- Inherits:
-
BaseEntityGlobal
- Object
- Flatpack::Core::BaseHasUuid
- BaseEntityGlobal
- Perka::Model::AbstractUser
- Defined in:
- lib/perka/model/abstract_user.rb
Overview
A supertype for all objects representing an identity. Each subtype of AbstractUser has an associated role which is used to controll access to API endpoints and model properties.
Direct Known Subclasses
Constant Summary collapse
- PROPERTY_NAMES =
[ # A user's role is used to control access to API endpoints and model properties. :role, :email, :first_name, :last_name, :new_password, :new_password_confirmation, :phone, # Users whose email addresses have not been confirmed via a click-to-confirm # email will have this field populated. Multiple user entities may share # the same unconfirmed email address. When the address is confirmed, these # entities will be merged. :unconfirmed_email, :unconfirmed_phone, :password_set ]