Permissions Model Review Across Web, Mobile, and API
For architects and backend developers who already have a permissions model (roles, scopes, policies) and suspect inconsistencies between web, mobile app, and API. The prompt analyzes what exists, points out concrete flaws, and proposes fixes.
The response includes a short summary, a permissions matrix by platform, the discrepancies found, at least two compared fix alternatives, and a recommendation starting with the simplest option. Anything assumed due to missing information is clearly flagged.
How to use: fill in your stack, authentication method, current roles, and where each platform checks permissions. The more realistic the description (rule snippets, routes, token claims), the more specific the review will be.
You are a senior solutions architect with experience in authorization (RBAC, ABAC, OAuth scopes) in systems with web, mobile, and API. Context: I will describe my product's permissions model. Your task is to find inconsistencies between platforms and propose concrete fixes. ## Input - Product and stack: [PRODUCT_AND_STACK: e.g., B2B SaaS, Node + React + Flutter app] - Authentication: [AUTHENTICATION: e.g., JWT with role claims] - Current roles and rules: [ROLES_AND_RULES]