Authentication & Accounts

auth in @open-mercato/core

User accounts, sessions, roles and password resets.

Ships with Open Mercato 0.9.0

On in a new app. Nothing to enable.

Anatomy

ADDS 11 TABLES · 8 PERMISSIONS · EMITS 12 EVENTS

Data

  • users
  • roles
  • user_sidebar_preferences
  • role_sidebar_preferences
  • sidebar_variants
  • user_roles
  • sessions
  • password_resets
  • role_acls
  • user_acls
  • user_consents

API

Routes are not listed for built-in modules.

Security

auth.

  • users.list
  • users.create
  • users.edit
  • users.delete
  • roles.list
  • roles.manage
  • acl.manage
  • sidebar.manage

Events

auth.

  • emitsuser.created
  • emitsuser.updated
  • emitsuser.deleted
  • emitsrole.created
  • emitsrole.updated
  • emitsrole.deleted
  • emitslogin.success
  • emitslogin.failed
  • emitslogout
  • emitspassword.changed
  • emitspassword.reset.requested
  • emitspassword.reset.completed

UI

  • 11 backend pages
  • 3 frontend pages

Background

  • 10 CLI commands

Not present: AI tools.

Not read: credentials and env, hosts (not in module-facts.v2.json).

From module-facts.v2.json in @open-mercato/cli 0.9.0. Read statically, not executed.