GoalRead and complete an access matrix for roles in an invented school and explain why each person gets what they get.
New words
role · the job or part a person has in an organisationmatrix · a table with rows and columns that show how two things linkleast privilege · giving a person only the access they needneed to know · a person sees only what they need for their job
Explanation
Organisations give permissions by role. In a school there are pupils, teachers, office staff and a nurse. A matrix shows this at a glance: the folders are rows, the roles are columns, and each cell says what the role may do. Everybody can read the menu. Teachers can edit class marks. The nurse can edit the allergy list, but the pupils cannot see it. This follows least privilege: each role gets only the access it needs. When someone changes job, their permissions change too. It is also better to manage permissions by role than person by person, because a list of roles is easier to check and keep correct.
Folder
Pupil
Teacher
Office
Nurse
menu
read only
read and edit
read and edit
read only
class marks
no access
read and edit
read only
no access
allergy list
no access
read only
read only
read and edit
pupil addresses
no access
no access
read and edit
no access
Worked examples
Role
Allergy list
Why
Nurse
edit
keeps the list up to date
Teacher
read only
needs to know in class
Pupil
no access
private to others
Look at the matrix: the nurse can edit the allergy list and the teacher can only read it. The reason is the job each does.
Folder
As teacher
As office assistant
class marks
edit
read only
pupil addresses
no access
edit
When a person changes role, permissions change with it. The invented teacher becomes the school’s office assistant.
Folder
Pupil
Teacher
menu
read only
edit
class marks
edit
edit
A matrix makes mistakes easy to spot. One cell here looks wrong.
Class activity
Matrix maker (on paper). Draw a grid with the roles pupil, teacher, office, nurse across the top and four invented folders down the side: ‘timetable’, ‘pupil marks’, ‘medical notes’, ‘fire drill rota’. Fill each cell with N (no access), R (read only) or E (edit). Write one sentence explaining the cell you were least sure of. Swap grids with a partner and mark any cell you disagree with. Agree on the best answer for each. If you have a computer or tablet, build the grid in a spreadsheet.
Practice
1
An invented sports club uses this matrix. How many cells give edit access, and which role has edit access to the most folders?
Folder
Member
Coach
Treasurer
fixtures
R
E
R
kit list
R
E
R
bank details
N
N
E
There are 3 edit cells. The Coach has edit access to the most folders (2). Count the E cells in each column.
2
Which role should have no access to ‘pupil addresses’, and why? Choose pupil, office or nurse.
Role
Pupil addresses
Pupil
?
Office
?
Nurse
?
Pupil should have no access, because the list holds other people’s home details. The office needs it to contact families.
3
Why manage permissions by role instead of person by person?
It is easier to set up, check and change, and mistakes are easier to find. When a person changes job, their role changes.
4
A teacher asks to edit the allergy list ‘just in case’. Say what the school should answer.
The teacher already has read-only access, which is all they need. Edit access should stay with the nurse, as in least privilege.