Menu

Groups

Part of the Security Fundamentals section of Coddy's Cybersecurity journey. Lesson 12 of 43.

People who do the same job often need access to the same things. A group lets you give that access to several people at once. For example, everyone in Lumen's marketing group can work on the newsletter and shop pages. Suppose Ava is moving from the roastery to marketing. First, check her current groups:

seclab people ava

Look for these lines:

ava: Ava Brennan, roastery lead
  groups: roastery, staff

Ava currently belongs to roastery and staff. To see what each group allows, run:

seclab groups

Look for these lines:

group      members  grants
marketing  1        the newsletter and the shop's pages
roastery   1        roast plans and the roaster controller

Ava needs access to the newsletter and shop pages for her new job. Add her to marketing:

seclab add ava marketing

You should see:

Added ava to marketing.

Ava now has marketing access, but she still has her old roastery access too. Remove the old group because she no longer needs it:

seclab remove ava roastery

You should see:

Removed ava from roastery.

Keep her staff membership. It gives her everyday email and shared files, which she still needs in her new role.

challenge icon

Challenge

Easy

Ticket from Sam, IT lead

Mia is moving from marketing to helping customers with their orders. Her old access is still there, and she cannot do the new job yet. Give her the access for customer support, remove her old marketing access and keep her staff membership. Leave everyone else's access alone.

Try it yourself

Terminal

All lessons in Security Fundamentals