Skip to content
Free since 2015. Built for the engineers who keep things running.

cat /articles/planning-user-roles-for-your-application.md

Security

Planning User Roles for Your Application

When building a web application with authenticated users, it’s important to define which users can perform which actions. One of the most common ways to do this is assigning roles to users.

The New Stack30 Nov 2022 · summary

article --summary

The summary

When building a web application with authenticated users, it’s important to define which users can perform which actions. Each role permits certain capabilities, with users only able to perform the actions associated with their specific role. Roles and capabilities should allow overlap between users with similar permissions, while still allowing differentiated levels between users. Let’s imagine we’re designing an application that allows users to vote (yes or no) on different workplace issues. Admin roles can perform higher-level actions related to data across the application, as well as actions around user management and global settings.

Editorial note: This is a summary of an article first published by The New Stack. The full piece is on their site.

articles --latest

Latest articles

New from the blogs we follow and the community.

All articles

newsletter --weekly

DevOps Weekly, minus the noise.

The best reads, new jobs and upcoming events, in one email a week.