Class: Spree::Api::V3::Admin::RoleSerializer
- Inherits:
-
BaseSerializer
- Object
- BaseSerializer
- Spree::Api::V3::Admin::RoleSerializer
- Defined in:
- app/serializers/spree/api/v3/admin/role_serializer.rb
Overview
Admin API serializer for Role. Read-only — used to populate the role picker on the staff invite/edit forms. Spree core ships with a single ‘admin` role today; richer role/permission management is on the roadmap.
Method Summary
Methods inherited from BaseSerializer
#current_currency, #current_locale, #current_store, #current_user, #expand?, #expands, #nested_expands_for, #nested_params