惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
V
Visual Studio Blog
有赞技术团队
有赞技术团队
T
Tailwind CSS Blog
B
Blog
I
InfoQ
博客园 - 三生石上(FineUI控件)
阮一峰的网络日志
阮一峰的网络日志
F
Fortinet All Blogs
H
Help Net Security
博客园 - Franky
宝玉的分享
宝玉的分享
博客园 - 司徒正美
C
Check Point Blog
G
Google Developers Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Jina AI
Jina AI
T
The Blog of Author Tim Ferriss
MongoDB | Blog
MongoDB | Blog
云风的 BLOG
云风的 BLOG
A
About on SuperTechFans
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
IT之家
IT之家

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
User Roles & Permissions for Business
NGB Platform · 2026-06-23 · via DEV Community

NGB v1.2.0 is now available.

This release adds user roles, permissions, and application-level access management to NGB Platform.

The core idea is simple:

Keycloak handles identity.
NGB handles application access.

Why this matters

Authentication and authorization are not the same thing.

Authentication answers:

Who is this user?

But a business platform also needs to answer:

What is this user allowed to do inside the application?

For simple apps, this can often be hardcoded.

For serious business applications, that does not scale.

Users have different responsibilities.
Different departments need different access.
Some users should only view data.
Some users can create drafts.
Some can post documents.
Some can run reports.
Some can export data.
Some can manage other users and roles.

That is why NGB v1.2.0 adds application-level access management as a platform capability.

Keycloak for identity, NGB for application access

NGB does not try to replace Keycloak.

Keycloak remains responsible for:

  • authentication
  • SSO sessions
  • external user identity
  • enabled / disabled identity-provider users

NGB is responsible for:

  • application roles
  • permission assignments
  • effective access
  • permission-aware metadata
  • menu and report filtering
  • backend permission checks
  • security audit records

This separation is intentional.

Keycloak owns identity.
NGB owns business application access.

What was added in v1.2.0

This release adds:

  • NGB-managed roles and permissions
  • user management
  • role assignment
  • permission definitions
  • permission matrix
  • effective access snapshots
  • access-version invalidation
  • permission-aware UI surfaces
  • backend-enforced access checks
  • Keycloak Admin integration
  • security audit foundations

The first vertical wired with this model is the NGB Property Management demo.

It includes seeded roles such as:

  • PM Administrator
  • PM Accountant
  • PM AR Clerk
  • PM AP Clerk
  • PM Property Manager
  • PM Maintenance Coordinator
  • PM Auditor
  • PM Read Only

These are not just UI labels.

They map to concrete permissions across documents, catalogs, reports, accounting tools, admin pages, audit access, and other platform surfaces.

Effective access

One important part of this release is effective access.

A user can have multiple roles.

NGB combines those roles and shows what the user can actually access.

That makes administration easier because you can answer questions like:

  • Can this user execute this report?
  • Can this user export report data?
  • Can this user manage roles?
  • Can this user access audit information?
  • Can this user post a specific document type?

This is especially important for business software, where permissions are not just technical details. They are part of the operating model of the company.

Permission-aware UI, but backend as the source of truth

The UI is now permission-aware.

Menus, document metadata, catalog metadata, reports, command palette entries, admin pages, and actions can be filtered or disabled based on the current user's access.

But the UI is not the security boundary.

Backend checks are still enforced by the runtime.

Hiding a button improves the user experience, but backend authorization is what actually protects the application.

Why this is a platform feature

NGB is a document-driven business application platform.

That means access control cannot be implemented as a one-off feature for one screen or one demo.

Documents, catalogs, reports, accounting tools, operational registers, reference registers, admin pages, and vertical-specific features all need a consistent authorization model.

That is what this release starts to provide.

NGB v1.2.0 is an important foundation for production-oriented vertical business applications where users do not all have the same access.

Links

GitHub: https://github.com/ngbplatform/NGB

Documentation: https://docs.ngbplatform.com/

Release: https://github.com/ngbplatform/NGB/releases/tag/v1.2.0

Video: https://youtu.be/zaW638VhoT8