Why Traditional Code‑Issuing Platforms’ Permission Design Is Doomed to Fail
The article explains how the hard‑coded, role‑bound permission model of traditional code‑issuing platforms collapses when an organization’s structure changes, and shows how a three‑layer decoupled architecture can provide fine‑grained, configurable access that turns the platform into true enterprise infrastructure.
Identity Middle Platform (IMP) is a digital identity infrastructure for brands that provides standardized APIs/SDKs for anti‑counterfeiting, channel control, QR‑code marketing, and production collaboration. Many technology directors report that a seemingly simple "one‑code‑one‑product" implementation quickly turns into deep custom development because any change in the client’s organization hierarchy forces the system to "not recognize people" and rebuild the entire permission model.
The root cause is the traditional platform’s tightly coupled, hard‑coded permission design: a fixed list of roles (channel manager, regional supervisor, distributor admin, store operator, etc.) each bound to a pre‑defined permission package. Roles are immutable; permissions are baked into the role definition, so adjusting to new organizational structures requires manually editing thousands of accounts.
For example, a beverage brand originally divided China into four regions with province‑level managers who could view local scan data, generate marketing code packs, and approve activities. After merging East and Central regions and promoting two managers to "regional deputy director" with cross‑province access, the traditional platform had no such role. IT had to manually reassign permissions for each account, a process that took nearly two weeks and halted frontline activities.
The article also describes two dangerous extremes of this model: overly restrictive permissions that force slow approvals and encourage gray‑market workarounds, and overly permissive permissions that concentrate power and enable collusion. Both stem from the inability to configure permissions per scenario, per organization boundary.
IMP breaks this deadlock with a three‑layer decoupled architecture:
Semantic layer (governance): Business users define governance tags such as "East‑Region Channel Manager" or "Brand‑A Province Supervisor" without attaching any technical permissions.
Rule layer (decision): Atomic permission templates (e.g., "can view scan data", "can generate marketing code pack", "can audit expenses") are defined independently of roles. Modifying a rule does not affect others.
Execution layer (runtime): At runtime the system compiles the selected tags and rules into a flat authorization snapshot optimized for high‑frequency checks, eliminating the need to trace permissions back to a role.
This design makes change management trivial: adding a new "regional deputy director" role only requires creating a new tag in the semantic layer and selecting existing rule templates, after which the compiled snapshot is automatically generated and deployed without any code changes.
Three real fast‑moving consumer‑goods scenarios illustrate the benefits:
Multi‑level channel data isolation: separate brand‑province manager roles ensure each manager sees only their brand and province data, and switching a manager between brands instantly updates permissions.
Marketing activity accountability: brand managers set activity rules and budgets, regional managers get execution rights limited to their area, and finance auditors have read‑only access to audit data, preventing power concentration.
Supply‑chain precise authorization: external packaging suppliers receive a "supplier operator" role limited to downloading code packs for specific orders and batches; revoking the role instantly removes access.
By decoupling roles from permission rules, IMP evolves from a project‑style tool into an enterprise‑grade infrastructure capable of handling multiple organizational restructurings, new channel models, and external partners without writing a single line of code.
Digital Planet
Data is a company's core asset, and digitalization is its core strategy. Digital Planet focuses on exploring enterprise digital concepts, technology research, case analysis, and implementation delivery, serving as a chief advisor for top‑level digital design, strategic planning, service provider selection, and operational rollout.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
