Use the Prompt
Add Your Brief
Add your context below. It will be included with the prompt when you copy or download.
Create an interactive frontend prototype using the existing project stack and explicitly labeled demo data for [PROJECT] and [AUDIENCE]. The task is: Role and Permissions Matrix.
Required content and structure
Compare roles across actions and show inherited versus custom permissions.
Use [APPROVED_CONTENT] as the source of names, dates, figures, claims and destinations. List missing inputs before substituting anything. If a demonstration is needed, label its content as fictional. Do not invent customer quotes, rankings, partner logos or product capabilities.
Design direction
Use [BRAND_RULES] and the design system already selected in the project. If no system is supplied, start with this direction: light neutral canvas, graphite text, cobalt accent and precise hairline separators; dense but legible hierarchy. Keep type, spacing and color roles consistent. Prioritize the task over decorative elements and avoid a generic collection of unrelated cards.
Content preparation
Define roles, actions, inheritance and any custom overrides. Supply the business rules for high-impact permission changes and unavailable actions.
Layout and behavior
Let users compare the same action across roles, with clear labels for allowed, denied and inherited access. Show the effect of an override before applying it.
Task-specific acceptance check
- Prevent ambiguous partial access and require confirmation for high-impact changes.
- Test inherited access, partial permissions and a role the current user cannot edit.
- Confirmation should explain the actual access change instead of using a generic are-you-sure message.
Implementation and review
Keep text editable. Use semantic structure, descriptive controls, visible keyboard focus and appropriate empty/error states. Check narrow and wide layouts. Respect reduced-motion preferences. Preserve any existing project framework and dependencies; do not silently replace the stack. Return the editable files and explain any incomplete behavior or unsupported inputs. Review this specific task before proposing extra features.
Reference attachment and reconstruction goal
Attach reference.webp from this prompt’s download bundle alongside this prompt in OpenDesign. Build an editable result with a similar composition and hierarchy; do not embed the whole reference image as the finished interface. Preserve approved project content and brand rules if they conflict with fictional sample labels. If the image is missing or unreadable, ask for it instead of claiming visual fidelity.
Reference composition and content
Use the attached reference.webp as the visual reference for Role and Permissions Matrix. Before building, identify the major regions from top to bottom, their relative widths and heights, alignment, spacing, typography hierarchy, surface colors, borders, imagery and repeated components. Preserve those relationships rather than substituting a generic template. Required task content: Compare roles across actions and show inherited versus custom permissions. Use the following task-specific layout guidance when translating the image into editable elements: Let users compare the same action across roles, with clear labels for allowed, denied and inherited access. Show the effect of an override before applying it.
Visual direction from the example brief
light neutral canvas, graphite text, cobalt accent and precise hairline separators; dense but legible hierarchy.
Interaction specification
The reference is a static concept: the behavior below is a requirement to implement, not proof that the picture already works. Copy the customized prompt into your working project. Start with the core task: Compare roles across actions and show inherited versus custom permissions. Prevent ambiguous partial access and require confirmation for high-impact changes. For each visible control, specify its trigger, affected state and feedback; implement local changes with consistent state across related views. Give search and filters real results, selection controls an explicit active state, and save actions visible pending/success/failure feedback where relevant. Do not add unrelated workflows. Use proper links for navigation, buttons for actions and accessible names for icon controls. Do not imply a backend operation succeeded when only a local demo changed.
Visual comparison and delivery
- Compare the result with the attached image at matching proportions. Review major region placement, relative image sizes, line breaks, spacing, typography hierarchy, contrast, active states and content density before polishing decorative details.
- Then test the narrow layout without squeezing desktop text into tiny labels.
- Keep logos, photos and icons as separate assets and all meaningful labels editable. List any unavailable fonts/assets and any intentional departures. Return the working files plus a concise account of implemented behavior and remaining integrations; do not promise a pixel-identical result from the prompt alone.
Download Prompt + Image
Includes the complete prompt and full-size reference image. Attach both in OpenDesign to guide the layout.
How to Write a Role and Permissions Matrix Design Prompt
Use this role and permissions matrix design prompt to compare roles across actions and show inherited versus custom permissions.
The reference is an AI-generated concept. The instructions below describe what to build and test; the image does not demonstrate working behavior.
Explain Effective Access
A permissions matrix must show whether access comes from a role or an override.
A checked cell alone cannot explain inheritance, partial permissions or the impact of editing it. Let users compare the same action across roles, with clear labels for allowed, denied and inherited access. Show the effect of an override before applying it.
From the Prompt
Let users compare the same action across roles, with clear labels for allowed, denied and inherited access.
Make It Your Own
List [ACTIONS] against [ROLES], distinguishing inherited and custom grants. Preview the effective permission change and require confirmation for [HIGH_IMPACT_ACTIONS].
Prepare the Role and Permissions Matrix Content
Actions form rows and roles form columns; provide a complete permission model and distinguish inherited values from custom overrides.
Define roles, actions, inheritance and any custom overrides. Supply the business rules for high-impact permission changes and unavailable actions.
From the Prompt
Compare roles across actions and show inherited versus custom permissions.
Make It Your Own
For [PROJECT], use [APPROVED_CONTENT] as the source for this role and permissions matrix. Define roles, actions, inheritance and any custom overrides. Supply the business rules for high-impact permission changes and unavailable actions. Identify missing inputs before replacing them with demonstration content.
Test an Inherited Grant
The role panel shows a custom permission and confirmation; describe the exact affected action and require confirmation for consequential changes.
Remove a custom grant while the role still provides access. The resulting state should remain accurate and explain why access continues rather than showing a misleading unchecked cell. Test inherited access, partial permissions and a role the current user cannot edit. Confirmation should explain the actual access change instead of using a generic are-you-sure message.
From the Prompt
Prevent ambiguous partial access and require confirmation for high-impact changes.
Make It Your Own
Review the role and permissions matrix against this requirement: Prevent ambiguous partial access and require confirmation for high-impact changes. Test inherited access, partial permissions and a role the current user cannot edit. Confirmation should explain the actual access change instead of using a generic are-you-sure message. Preserve approved content and revise only the parts that fail this check.
Review Your Role and Permissions Matrix Result
A convincing screen is not a working backend. Test validation, permissions, persistence and failure behavior separately before connecting real data.
- Test inherited access, partial permissions and a role the current user cannot edit. Confirmation should explain the actual access change instead of using a generic are-you-sure message.
Follow-Up Prompt
Use this after the first result. It narrows the revision to the most important part of this task.
Refine the current role and permissions matrix. Test inherited access, partial permissions and a role the current user cannot edit. Confirmation should explain the actual access change instead of using a generic are-you-sure message. Preserve the approved content and visual direction; change only the parts needed to resolve these issues.
