Skip to content

Administration

This page is for people who manage ReadyRoom from inside the application: assigning roles, setting up who manages whom, keeping the organization calendar, shaping the org chart, and handling a person's data. For running the server itself, see Operations. For what ReadyRoom keeps about people, see Privacy, DPIA and works council.

Roles

ReadyRoom has three roles (UserRoleEnum):

Role How someone gets it
USER Automatically, for anyone whose sign-in resolves to a directory entry. Every signed-in person has it, including managers and admins.
MANAGER An admin sets it on the person's details page. It is stored in user_records.user_role.
ADMIN The person's DN is listed in application.super-user-dns (matched without regard to case). The application also honors ADMIN if it is stored in user_records.user_role, which can only be set directly in the database. It is never given from the UI. Administration → Privacy lists every administrator and where the role comes from.

With single sign-on, the identity provider's groups can add MANAGER or ADMIN for that session through ENS_SSO_ROLE_MAPPING (for example ReadyRoom Admins=ADMIN;ReadyRoom Managers=MANAGER); a group not listed there grants nothing. Roles from the provider's groups do not count for API tokens, whose creator must be an administrator in ReadyRoom itself at every call.

A user record is created automatically the first time someone signs in, and also by the hourly directory refresh, with the role USER. A sign-in fills only the record's empty directory columns (organization, employee type, location, branch, duty sub-organization); changed values reach it through the hourly refresh. A certificate or account whose DN cannot be found in the directory does not sign in at all.

Assigning a role

  1. Open Users, search for the person, and open their details page.
  2. In the Role card (shown to admins only), choose USER or MANAGER.
  3. Choose Submit.

The role list offers ADMIN only for someone whose stored role it already is, so that saving their page keeps it; a request for ADMIN for anyone else is refused (400, admin_not_grantable). Name administrators in application.super-user-dns instead. A stored ADMIN can be taken away here, except from the last administrator: the page then says <name> is the only administrator left: name another first.

Roles are read when a person signs in, so a change takes effect at their next session. Changing the stored role of someone listed in super-user-dns does not remove their ADMIN role.

Administrators

The Administrators card on Administration → Privacy lists everyone with the ADMIN role, each linked to their details page, with where the role comes from: application.super-user-dns, Stored role, or both. With nobody listed, it says to name administrators in application.super-user-dns (APPLICATION_SUPERUSERDNS_0, ...).

Role versus reporting line

"Manager" means two different things in ReadyRoom:

  • The MANAGER role opens the manager pages: Metrics, group reports, scheduled reports and the System Date picker. It does not by itself show every group or every person's data.
  • A responsibility for people gives you their details (times, notes, Audit Log and Event Calendar), whatever your role: a reporting line in the directory (someone's user-ldap-manager-id-attribute pointing at you), managing a group they are in, or being one of their delegates (which admins set). A reporting line also gives you My Reports, the team cards on Home, and absence alerts for those people. A reporting line or being a delegate also lets you decide their status requests and record statuses for them.

Give the MANAGER role only to people who need the manager pages. See Security → Authorization for the full rules.

What each role can do

Capability USER MANAGER ADMIN
Home, own status, last 30 days, own calendar and profile ✓ ✓ ✓
Team cards on Home and My Reports (needs direct reports in the directory) ✓ ✓ ✓
Users search and anyone's basic details page ✓ ✓ ✓
Org Chart ✓ ✓ ✓
Groups: groups the person is a member of in the directory, and groups they manage ✓ ✓ –
Groups: every configured group tree – – ✓
Star (favorite) groups – ✓ ✓
Other people's times and notes, Audit Log and Event Calendar only people they are responsible for only people they are responsible for everyone
Generate a group report – groups they manage ✓
Edit a group's additional managers – – ✓
Metrics – ✓ ✓
Settings: calendar, group cache, stored group DNs, parse rules, days and time zones – – ✓
System Date picker (view another day) – ✓ ✓
Change someone's role – – ✓
Respond to an absence alert only alerts sent to them only alerts sent to them only alerts sent to them
Request a status that needs approval; follow one's own requests (Approvals) ✓ ✓ ✓
Approve or reject requests, and record a status on someone's calendar people they decide for: their direct reports in the directory, and the people they are a delegate of as USER everyone except themselves
Set someone's working days and start date people they decide for as USER everyone except themselves
Correct check-in records (void, note, add) – – everyone except themselves
Set a person's delegates; the Delegates review page – – ✓
Download one's own data (My data) ✓ ✓ ✓
Privacy page: retention status, the administrators, anyone's export, erasure – – ✓

Pages are protected on the server with @PreAuthorize rules. The sidebar hides what a role cannot open, and a page opened directly without the required role shows Unauthorized.

Groups and access

Group trees come from the directory: each entry under every application.groups[].groups-base-dn whose object class is groupOfUniqueNames. Members are its uniqueMember values, and its directory manager is its owner attribute. ReadyRoom never writes to the directory.

Who can open a group (/app/users/<group DN>) is decided by AccessPolicy.canViewGroup(): ADMIN can open any group, and anyone else can open a group they are a member of in the directory or manage. Group memberships are cached per user for application.ldap.group-membership-cache-seconds (300 s by default), so a directory change can take that long to apply. On a group's page, members whose details you may not see show only their directory fields and whether they are in.

Per-group permission records

Access to a group follows directory membership only: to give someone access to a group, add them to it in the directory. Earlier releases let admins and group managers "grant" a person a group (POST /api/permissions/update), which no access check read. That endpoint has been removed. Grants made before stay in the permission_records table only so that the person's data export lists them and erasure deletes them.

Group managers

On a group's page, admins see a Group Managers card. Only administrators set a group's alternate managers, as for delegates: a group's own managers no longer appoint them.

  1. Type at least part of a name in Add a manager and pick people from the results.
  2. Remove anyone with the remove control next to their name.
  3. Choose Update. The list is saved in group_records.alternate_managers.

Each manager must be someone in the directory; a DN that is not there, or a list longer than the column holds (255 characters), is refused with the reason, and nothing is saved. If the directory does not answer while it checks them, nothing is saved either, and the answer says so (503, directory_unavailable) rather than Not in the directory. The change is audited as group.managers-changed.

A person counts as a manager of a group if they are its directory owner or are on this list. A group manager can open the group and sees the details of every member of every group they manage (times, notes, Audit Log and Event Calendar), even with only the USER role. Running the group's report also needs the MANAGER role. A sub-group is a separate group with its own managers.

Group managers and absence alerts

A group's managers (its directory owner and its alternate managers) receive the absence alerts of the group's members, with the person's directory manager and delegates. They are told, not asked: their email says the person's manager or delegates record what happened, and only those people (and administrators) can answer the alert. Group managers do not decide status requests either. If a group's manager must answer alerts and approve requests, make them the members' delegate (see Delegates).

Favorites

Admins and managers can star groups on the Groups page or with the Favorite switch on a group's page. Favorites are stored per person in user_records.favorite_groups and drive the Favorites only filter.

Absence notifications

Absence alerts are produced by a scheduled job. By default it runs every 30 minutes; the packaged configuration runs it every 5 minutes.

Each person is checked on their own day: in their time zone, from their day start (see Configuration → Time zone and day start). Their date decides whether it is one of their working days or a holiday, and which statuses apply. Nobody is checked on a day that is not one of their working days, before their start date, or on a date marked Holiday in the organization calendar. Someone whose working days include Saturday is checked on their Saturday. For every other user record, a notification is raised when all of these are true:

  • the person has no check-in on their today;
  • they have not already been alerted about their today;
  • an expected time is known: today's Late Arrival time, else their preferred Login Time, else their average arrival, as a clock time in their zone;
  • the current time is past that expected time plus application.extra-time-before-absent-notification-minutes (default 60). When that falls after the end of their day (their next day start: midnight unless their site's days start at another time), the alert is due at the latest two job intervals before their day ends: 23:00 with the built-in 30-minute interval and a midnight day start, 23:50 with the packaged 5 minutes;
  • the day is not already accounted for: they have no excusable status today (Out of Office, Work From Home, Temporary Duty (TDY), Training, Scheduled Leave or Absent Excused), and no status that only a manager, delegate or administrator records (Absent, Absent Unexcused or Unscheduled Leave). A requested status counts only once it is approved. Late Arrival, Early Leave and normal account for nothing: a late arrival only moves the expected time. The same rule decides who is accounted for on Home, My Reports, Metrics and the org chart;
  • they are still in the directory: nobody is alerted about a person whose entry is gone, or whose account is disabled or expired (No absence alert about <dn> today: <reason> in the log). A locked-out account is still alerted about.

Recipients are the person's directory manager (found through the reporting-line attributes, read live from the directory for each alert) and their delegates, each once, and never the person themselves. If the directory cannot be read, no alert is saved and the next run tries the person again (No absence alert about <dn> this run, tried again next run at WARN), so the manager is not left out of an alert sent to the delegates alone. Each recipient gets a notification record and, if their directory entry has a valid email address, an email from application.notification-sender-email linking to application.application-base-url + /app/notifications/id/<id>. When the person's zone is not the application's, the email names it next to the expected time, for example 08:00 (Asia/Tokyo). A recipient who is not found in the directory, or has no email address, is logged as an error. Someone with no directory manager and no delegate (or none found in the directory) cannot be alerted about: the log says no directory manager or delegate for <dn>; no absence alert sent at WARN, once a person a day, and each run tries again. An alert whose email the mail server did not take is emailed again by the next run, the same day, while nobody has answered it. The job's count of alerts sent (in its log line and its job.completed audit event) is the number of people alerted about.

Responses. A recipient opens the alert and picks any status that accounts for the day, by name: under Recorded by a manager, Unscheduled Leave, Absent Excused, Absent Unexcused or Absent; under Leave and work elsewhere, Out of Office, Work From Home, Temporary Duty, Training or Scheduled Leave. normal, Late Arrival and Early Leave are refused (400): they leave the person unaccounted for. A leave or work-elsewhere answer is recorded as the responder's word on the day (the API's source manager; the person's own status that day does not replace it), never as a request needing approval, even when the status is in APPLICATION_EVENTS_REQUESTSTATUSES. The response is copied to every recipient's copy of the alert and stored as the person's status for the day the alert was about: their own date when it was raised (the alert about a Tokyo person's Monday is raised on New York's Sunday evening). An answer that does not excuse the day (UNSCHEDULED_LEAVE, ABSENT_UNEXCUSED or ABSENT) is e-mailed to the person, as is such a status recorded on their calendar (see User guide → E-mails about you). Mark All Read in the bell only marks alerts read: they stay awaiting an answer, in the bell and on Home, until someone responds. Administrators may answer any alert too. Two cases are refused, and the alert page says why:

  • Answered by a request. Approving a status request answers the alerts about the person on its days: every copy takes the approved status as its answer and the approver as who answered, linked to the request (Answered By Request on the alert page), audited as absence.alert-superseded with the answer it replaced (the approval's calendar.request-approved event counts them in details.alertsAnswered). Such an alert cannot then be answered on its own, administrators included: cancelling the request frees the day. An answer given before the approval is kept: the alert page shows it as Answer Given Here beside Superseded by the approved request of <date> (<status>), and so do the person's Records for a day and Approvals, where a pending request lists the answered alerts approving it would supersede.
  • Too old. An alert more than application.events.alert-answer-days (14) days old can be answered, or its answer changed, only by an administrator, so an old email link cannot overwrite a day everyone has relied on since. See Configuration.

To set up notifications:

  1. Configure SMTP and the two application.* mail settings (see Configuration).
  2. Make sure the reporting-line attributes are mapped correctly (user-ldap-manager-id-attribute and manager-ldap-id-attribute). A person's Manager field on their details page shows the result.
  3. Make sure managers have an email address in the directory attribute set by user-ldap-email-attribute (default mail).
  4. Add your organization's holidays to the calendar (below).

Delegates

A person's delegates (alternate managers) are, besides their manager in the directory, who receives their absence alerts, may answer them, decides their status requests and sees their details. Only administrators set them. People cannot choose their own: their profile only lists them.

To set someone's delegates, open their details page (Users → the person). On the Delegates card, search under Add a delegate, remove anyone with the remove control, and choose Save delegates. Each delegate must be someone else in the directory. The change is audited as person.updated with details.via alternate-managers and the old and new lists. If the directory does not answer while it checks them, nothing is saved and the answer is The directory did not answer (503), not Not in the directory: save again in a few seconds.

Administration → Delegates (/app/admin/delegates) lists everyone who has delegates, with who set them:

Set by Meaning Actions
An administrator Set on the details page, or reviewed Change (opens the details page), Remove
The person, to review Chosen by the person themselves, before administrators managed delegates Keep, Change, Remove

Delegates people chose for themselves before this release were kept, so the upgrade changed nobody's alerts, and they still receive alerts and may approve requests until you review them. Only those to review filters the list. While any are waiting, ReadyRoom logs at startup how many people have delegates chosen before administrators managed them. Keeping them is audited as person.updated with details.via alternate-managers-reviewed.

Working days and start dates

Each person has their own working days (Monday to Friday unless set otherwise) and a start date. Holidays in the organization calendar apply to everyone. A day is one of someone's working days when it is one of their days of the week, on or after their start date, and not a holiday. That decides:

  • the absence alert: nobody is alerted about on a day they do not work, or before their start date, each checked on their own date in their own time zone;
  • the 30-day attendance on Home and My Reports, which counts only the person's working days. A day of Scheduled Leave, Unscheduled Leave or Absent Excused without a check-in is left out of their working days. Work From Home, Temporary Duty, Training, Out of Office, Absent and Absent Unexcused still count as working days;
  • who is expected on a day (accounted for on Home, My Reports and Metrics), and the average arrival time;
  • the monthly summaries the retention purge writes, which now keep how many working days the month held for each person (see Operations → Retention).

Setting them. Open the person's details page (Users → the person). On the Working days card, tick the days they work, optionally pick a start date, and choose Save working days. Choose at least one day. The start date can be up to a year ahead; leave it empty to count from when ReadyRoom first knew the person. Administrators can set anyone's, except their own. The person's directory manager and their delegates can set theirs too, as they decide their requests. The person sees their working days on their profile and details page but cannot change them.

Default start date. With no start date set, a person's start is the day ReadyRoom first knew them. For a new person, that is when ReadyRoom first created their record: when they first signed in, were looked up, or were added by the directory refresh. For people already in ReadyRoom before the upgrade, it is their earliest check-in or monthly summary. If ReadyRoom has a check-in for someone from before that date, the start moves back to it. People with no history at all have no start date, so every day counts for them, as before. The card shows such a date as first seen.

Audit. Every change is recorded as person.schedule-changed, with who made it, whose schedule it was, the old and new working days and the old and new start date. Working days are written as a letter for each day worked and a dot for each day off: MTWTF.. is Monday to Friday, MTW.... is Monday to Wednesday.

Nobody's schedule changes on upgrade: everyone keeps Monday to Friday until someone sets otherwise.

Correcting check-in records

Check-in records come from the Windows client and from the automatic check-out. When one is wrong or missing, an administrator corrects it from the person's details page:

  1. Open the person (search, a group, or the org chart) and go to Records for a day.
  2. Pick the day with the date box, or click the day on the person's calendar.
  3. The card shows the day's status, when the person checked in and out, and every record of the day. The day is the person's own: in their time zone, from their site's day start (a night-shift site's day runs from evening to evening).

From there you can:

  • Void a record. Choose Void on the record and give the reason (required). The record stays on file, struck through and marked Void, but it no longer counts anywhere: not for the day's status or times, Home, Not in yet, the group report and its exports, attendance figures, metrics, the org chart, absence alerts, the retention summary or the public API. Typical uses: a test logon, a duplicate record, or an automatic check-out that ended the day while the person was still at work (once voided, that day is no longer ended at the lock).
  • Add a note. Choose Note and write it. A note explains a record; it changes nothing that is calculated. A new note replaces the previous one; the audit log keeps every one.
  • Add a missing check-in or check-out. Under the table, choose Check-out or Check-in, the time and the reason (required), then Add record. The time is in the person's time zone, on their own day: for a site whose days start at 18:00, 02:00 on Monday's day means 02:00 on Tuesday morning. It cannot be in the future. The commonest case is a missed sign-out. The added record counts like any other and is labelled Added by an administrator wherever records are listed.

An early leave's time and the automatic check-out

On a day whose one status is Early Leave with a time of leaving, a screen lock at or after that time (in the person's zone and day) is checked out on the job's next run, not after check-out-after-minutes. It is the same automatic check-out, timed a second after the lock, and is audited as record.auto-checked-out with the reason (early leave at 15:00). A status a manager recorded over the early leave decides instead. Locks before the time, and early leaves without one, wait for the usual limit.

Voiding an automatic check-out

The automatic check-out job leaves alone a screen lock whose automatic check-out an administrator voided: it does not write it again, early leave or not. The person's day stays open until a later record of theirs ends it, or you add the check-out they missed.

Rules.

  • Only administrators (the ADMIN role) can correct records. Managers, delegates and the person see the corrections but cannot make them.
  • You cannot correct your own records; another administrator must.
  • Reasons and notes are at most 500 characters. Write them for the person: they see them, with your name.
  • A record can be voided once. Voiding cannot be undone from the page. If you voided the wrong record, add a record at the right time with a reason that says so.
  • A voided or added check-in recalculates the person's average login time.

What is recorded and who is told.

  • Every correction is written to the audit log as record.voided, record.added or record.annotated, with your reason (or the note), the record, its time and its day. Filter the audit log by these actions, or by the person as the target.
  • When you void or add a record, the person receives an e-mail saying which record, who made the change and why, with a link to that day. Notes are not e-mailed. E-mail goes out only when a mail server is configured, using the same sender and settings as absence alerts.
  • The person, their managers and delegates see the corrections under Records for a day, and their calendar marks corrected days (Records corrected: ...).

Retention and erasure.

  • Void records are kept, and shown, until the retention purge deletes them, a day after the normal cutoff. They are not counted in the monthly summaries. The purge's data.purged audit event counts them as voidCheckIns.
  • Erasing a person deletes their records, void and added ones included, with every correction on them. The audit log keeps its events, including the reasons you gave.

The same corrections can be made through /api/records; see API reference → Check-in record corrections.

Privacy: retention, export and erasure

Administration → Privacy (/app/admin/privacy) is for administrators, and works in every license state (erasure too while the license is read-only).

Retention and visibility shows how long check-ins and statuses are kept (or Forever), when the purge runs, the cutoff before which only monthly summaries remain, the last purge, and the coworker visibility setting. Administrators lists everyone with the ADMIN role (see Administrators). They are server settings: see Configuration → Statuses, requests and privacy.

A person's data. Enter the person's DN and choose Show, or use Export or erase data on their details page. The page lists how many records of each kind ReadyRoom holds about them, including the webhook deliveries about them, the API tokens and webhooks they created that are still active, and their open sessions.

  • Download their data gives the same JSON file the person gets from My data. Each download is audited as data.exported with requestedBy set to you.
  • Erase personal data deletes, in one transaction, their user record, group access, check-ins (void and added ones too, with their corrections), calendar statuses, status requests, absence alerts about them, monthly summaries and the webhook deliveries about them (sent, given up or still waiting, so nothing naming them is sent afterwards), and takes them off other people's delegates and groups' alternate managers. It also revokes the API tokens and disables the webhooks they created (audited as api.token-revoked and webhook.disabled with details.via erasure, by you), and ends their browser sessions (auth.session-expired, reason erased). Absence alerts sent to them about other people are kept, with their name replaced by (erased). Type the person's name to confirm; the browser asks once more. The form is good for 10 minutes and for that person only. Nobody can erase themselves. The page then says how many records were erased and what was revoked, disabled and ended. The erasure is audited as person.erased, with the counts and whether the person is still in the directory. If the directory does not answer, the page (and the erasure) says The directory did not answer instead, and nothing is erased: whether the person is still there, and so comes back, is not known. Try again in a few seconds.

Erase someone who has left the directory first

If the person is still in the directory, the page says so: ReadyRoom creates their account again, empty, at their next sign-in or at the next hourly directory refresh, and their workstation goes on reporting. Remove or disable them in the directory first.

What erasure does not remove is listed in Privacy, DPIA and works council.

Integrations: API tokens and webhooks

Administration → Integrations (/app/admin/integrations):

  • API tokens for the read-only public API: a name, scopes (people:read, attendance:read, absences:read), an expiry and a rate limit. The token is shown once. It acts for you and never sees more than you may see at the time of each call; if you stop being an administrator or your account is disabled, locked or removed, it stops working. Revoke tokens nobody uses.
  • Webhooks for absence alerts and status changes: an https:// URL and the events. The signing secret is shown once; Send test posts a ping, and the page lists recent deliveries. Webhooks stay unavailable until your operators set APPLICATION_WEBHOOKS_SECRETKEY. See Webhooks.

Settings page

Settings (/app/settings) is for administrators only: everything on it applies to the whole organization. The MANAGER role no longer opens it.

Organization calendar

  • Add an event: drag across one or more days. In the dialog, enter a Title, tick Holiday if nobody is expected that day, and choose Submit. One event is stored per day.
  • Delete an event: click it and confirm.

Calendar events appear in orange on everyone's calendars. Events marked Holiday also stop absence alerts and make metrics report the day as Not a working day with the event's title.

Days and Time Zones

The read-only Days and Time Zones card shows the application's time zone and day start, and each configured site (by the directory's location attribute) with its time zone and day start. Each person's day is in their own time zone (their profile's, else their site's, else the application's) and starts at their site's day start, else the application's. They are server settings (APPLICATION_TIMEZONE, APPLICATION_DAYSTART, APPLICATION_SITEDAYSTARTS, APPLICATION_REPORTS_SITETIMEZONES); see Configuration → Time zone and day start. With no site configured, the card says everyone without a profile time zone is on the application's.

Group cache

Group trees are read from the directory and cached, so a directory change does not show until the cached entry is refreshed (see cache-duration-refresh-minutes and cache-duration-expiration-minutes in Configuration). The card shows how many group entries are cached.

  • Evict a single DN: removes that group, the groups beneath it, and the cached trees that contain it. The next request reads them from the directory again.
  • Evict All (with confirmation): clears every cached group tree. Pages are slower until the caches fill again.

With several replicas, an eviction reaches all of them: the replica that served the page drops its entries at once and records the eviction in the database, and every other replica drops the same entries within a few seconds (application.cache-invalidation-poll-millis, 10 s). The message gives the number of entries dropped on the replica that served it, and says if the eviction could not be passed on (the database did not record it): the other replicas then keep their copy until it expires. Each eviction is audited as settings.cache-evicted, with details.everyReplica.

When the directory stops answering part way through a tree, the Groups page shows what it has with The directory did not answer for part of this tree; try again, and that tree is not cached. That includes a sub-group the directory did not answer for, which earlier releases left out as if it did not exist, and cached the tree without it; the next read after the directory answers gets the whole tree. A top-level tree the directory did not answer for at all is left off the page with the same notice. A group's own page is The directory did not answer (503) rather than no such group (404), and a person's groups and the groups they own are never cached as "none".

Stored group DNs

ReadyRoom keeps scheduled reports, groups' alternate managers and favorites under a group's DN. A group renamed or moved in the directory gets a new DN, and those are left behind under the old one. Check on the Stored Group DNs card looks up every stored group DN and lists those the directory no longer has, with what each was kept for, so you can set them up again under the new DN. It changes nothing. If the directory cannot be read, the card says the check did not finish.

Organization parse rules

The org chart is built from the distinct values of one directory attribute (user-ldap-duty-sub-organization-attribute, for example departmentNumber). By default each value is split wherever letters change to digits or digits to letters, and trees that share a prefix are merged:

RYS34B  ->  RYS
             └── 34
                  └── B

When that does not fit your naming, add a rule:

Field Meaning
Organization Name A prefix. The first rule whose name the value starts with (ignoring case) is used.
Parse Regex A Java regular expression that must match the whole value. Each capturing group becomes one level of the tree.

For example, with the name RYS and the regex ([a-zA-Z]+\d)(\d+)([a-zA-Z]+)$, the value RYS34B becomes RYS3 → 4 → B.

  • An invalid regex is rejected when you save it.
  • Use the edit control to load a rule back into the form. Delete asks for confirmation.
  • A value that matches a rule's prefix but not its regex is left out of the org chart, and a warning is logged.
  • The org chart is cached, and saving a rule does not clear the cache. A new rule applies when the chart is rebuilt: in the background once the cached chart is older than cache-duration-refresh-minutes (60 by default), at the latest after cache-duration-expiration-minutes (120), or after a restart.

The banner at the top and bottom of every page shows application.banner-text on application.banner-color. The sidebar logo is application.logofile. These are server settings; see Configuration.