Users
Users are the foundation of SIRENE.
A user can be:
- a person who can sign-in to SIRENE to access private global notifications
- a person who can be included in various scopes for individual notifications
- a person with admin permissions who can fire notifications and manage SIRENE
- a contact (an email or phone number) who can be notified without sign-in
Data Model / Example
The 'login' attribute is the unique identifier. Use a contact shortname for ... contacts.
Example:
users:
- login: phil
role: globaladmin
email: phil@cavaliba.com
mobile: "0311-24456"
name: Phil Cavaliba
site:
description: "Groundhog phil ?"
- login: hr_mailinglist
role: contact
email: phil@cavaliba.com
description: The mailing list to contact HR
- login: emergency_pager
role: contact
mobile: "888-88888"
description: In case of emergency
Scope: user
Scope
user:phil
Alternate names:
u:phil
phil
Nota: no scope prefix means "user" as seen in this las example.
Scope usage
sites:
- name: my_site
(...)
notify_to:
- user:phil
- joe
- u:willy