PanelSimulator Academy

Access Control, lesson 10 of 14

Access levels, schedules and holidays

The hardware is fitted and every door works. Now someone has to decide who may go where, and when. Done well, this takes a handful of simple rules. Done badly, it becomes hundreds of exceptions that nobody understands. This lesson shows the simple way.

About 13 minutes. Read lesson 1 first.

Who gets in, and when?

Pick a person, a door and a moment. The controller's three questions are answered below.

  • Card is active
  • Level includes this door
  • Schedule allows this moment

The everyday picture

A hotel does not decide, guest by guest, which doors each person may open. It has a few kinds of key. A guest key opens the front door, the elevator and one room, until checkout. A housekeeping key opens every room on a floor, during the day shift. A manager's key opens everything.

When a new housekeeper starts, nobody thinks about doors. They are handed a housekeeping key. When the hotel adds a gym, it is added once to the guest key, and every guest can use it.

Access control software works the same way. The kinds of key are called access levels.

Access levels

An access level is a named bundle with two parts: a list of doors, and the hours during which those doors may be used. People are given one or more levels. They are never given doors directly.

LevelDoorsHours
StaffFront door, officeWeekdays, 7 a.m. to 7 p.m.
ITServer roomAlways
CleaningFront door, office, stockroomMonday to Saturday, 6 p.m. to 10 p.m.
VisitorFront doorWeekdays, 9 a.m. to 5 p.m.

These are the four levels in the tool above. Omar works in IT, so he holds two: Staff and IT. Sam is a contractor whose card was set to expire last Friday.

Give people the least they need

The guiding idea is called least privilege. Each person gets the doors their job requires and no more. It is tempting to give a senior person every door. But every extra door on a card is an extra door opened if that card is lost.

Schedules and holidays

A schedule is a weekly pattern of hours, such as "weekdays, 7 a.m. to 7 p.m.". The controller checks it on every card read.

A weekly pattern knows nothing about public holidays. On Thanksgiving, a Thursday, a "weekdays" schedule would treat the empty building as open for business. So the software also keeps a holiday list: dates on which normal schedules do not apply. Someone has to enter next year's dates each year. Forgetting is one of the most common faults on real sites.

Cards can also carry an expiry date. A contractor's card set to end with the contract stops working without anyone needing to remember.

Check yourself

A new accounts clerk starts on Monday. What is the right way to set up their card?

Doors that unlock themselves

A shop's front door should stand unlocked during opening hours, with no card needed. Schedules do this as well. A door is given an unlock schedule, and the controller holds the lock released for those hours.

This has a trap. If it snows and nobody comes to work, the door still unlocks at 8 a.m. to an empty building. The answer is a setting usually called first person in. The door waits for the first valid card of the day before its unlock schedule is allowed to start.

Three stricter rules

  • Anti-passback. A card that has badged in cannot badge in again until it has badged out. It stops one person passing their card back over a turnstile to a friend. It needs a reader on the way out.
  • Two-person rule. The door opens only when two different authorized people badge within a few seconds. Used on vaults and drug stores.
  • Escort. A visitor's card works only straight after a host's card.

Each of these makes a door harder to misuse and more irritating to use. Keep them for the few doors that deserve them.

Three examples

Simple: a ten-person office

Three levels are enough: Staff for everyone during working hours, Manager for the same doors at any hour, and Cleaning for the evening. Setting up a new person is one choice from a list of three.

Medium: the Thanksgiving surprise

On the Friday after Thanksgiving, an office manager finds that the front door stood unlocked all of Thursday. The door's unlock schedule said "weekdays, 8 to 5", and nobody had entered this year's holidays.

Two changes prevent a repeat: enter the holiday dates, with a calendar reminder to do it every December, and switch on first person in for that door. Either would have kept it locked. Together they cover each other's failure.

Advanced: four hundred levels

A hospital's system has grown for ten years. Each request was met by creating a new level: "Dr Patel plus pharmacy", "Night porters except ward 6". There are now 400 levels for 900 people, and nobody can say who can open the pharmacy.

The repair is to rebuild from two simple lists. One is areas: wards, pharmacy, plant rooms, offices. The other is roles: nurse, porter, pharmacist, engineer. Each level becomes one area with one schedule, and each role is a short set of levels. The count falls to about thirty, and the pharmacy question can be answered in a minute.

From the field

  • Name levels by area and hours, such as "Warehouse, day shift". Never name one after a person.
  • Review the list every few months. Print who holds each sensitive level and have the department head sign it.
  • Tie leavers to payroll. The day someone leaves the company is the day their card should stop. Lesson 12 shows how software can do this automatically.
  • Enter holidays for the coming year every December.
  • Test a new level with a real card at a real door before handing out fifty of them.

Common mistakes

  • Giving doors to individuals, one checkbox at a time.
  • Creating a new level for every special request.
  • Forgetting the holiday list.
  • Unlock schedules without first person in.
  • Cards of people who left months ago still active.

Summary

  • An access level is a set of doors with a schedule. People hold levels, not doors.
  • Give each person the least access their job needs.
  • Schedules are weekly patterns. Holidays are the dates that override them.
  • Unlock schedules open a door without a card. First person in keeps it shut on an empty day.
  • Anti-passback and the two-person rule are for the few doors that need them.

Exercises

Answer each one yourself first, then open the answer. The tool at the top will help.

Exercise 1. In the tool, can Lena the cleaner open the server room at 8 p.m. on Tuesday? Which question fails?

Show answer
No. Her card is active and 8 p.m. is inside the Cleaning schedule, but the Cleaning level does not include the server room. The second question fails.

Exercise 2. Omar is denied at the office door at 9 p.m. on Tuesday but granted at the server room a minute later. Explain.

Show answer
He holds two levels. Staff covers the office but only until 7 p.m. IT covers the server room at any hour. Each door is judged against the level that includes it.

Exercise 3. A warehouse adds a new cold store that all forklift drivers need. How many records must change if drivers were set up with a "Warehouse" level? How many if doors had been checked off for each driver?

Show answer
One: add the cold store door to the Warehouse level. If doors had been given person by person, every driver's record would need editing, and anyone missed would be locked out.

Exercise 4 (think, don't memorize). A director asks for a card that opens every door at any hour, "for emergencies". What do you say?

Show answer
Ask what the emergency would be. A card that opens everything is the most valuable thing to lose or steal, and it is carried every day for a need that may never come. Better answers are a sealed emergency card kept in a safe and logged when used, or giving the director the levels their daily work needs and a named person on call who can grant more.