← Mobilalkalmazás fejlesztők adatlapja
Nézd meg, miben segít
Szerepkör- és jogosultságesetek
Szereplő, rekordtulajdon és tagságváltozás szerint teszteli a jogosultságot közvetett adatfelületekkel együtt.
roles-permission-scenarios
Ezt a skillt használó csapattagok
Mikor hasznos?
Akkor használd, ha gombelrejtés önmagában nem igazolja a hozzáférésvédelmet.
Miben segít neked?
- Szerepkör és helyzet szerint engedett-tiltott műveleti mátrixot készít.
- Ellenőrzi a közvetlen szerverkérést és munkamenet közbeni visszavonást.
- Vizsgálja a listák, exportok és értesítések azonos határait.
Például ezt kérheted
Teszteld eltávolított csapattag nyitott böngészőjét, közvetlen rekordlinkjét és várakozó exportját. Export sorba állítása után vond vissza a tagságot. A közvetlen olvasás bukjon el, a futás pedig fájlkészítés és kézbesítés előtt újra ellenőrizze a jogot.
Részletes dokumentáció
Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.
Összecsukás
Roles & Permission Scenarios
A feature is not verified if it was only tested with a super-admin or owner account. Permissions, role transitions, and workspace boundaries must be checked across representative personas.
Workflow
- Build a role & persona test matrix:
- Select the relevant actors for the workflow:
- Unauthenticated / Expired session: Logged-out user or revoked token.
- Restricted / Read-only viewer: Can view permitted records but cannot create, edit, approve, or delete.
- Standard member / Collaborator: Can act on own or assigned items, subject to ownership or approval rules.
- Approver / Manager / Admin / Owner: Can configure, approve, or manage workspace members.
- Cross-tenant / Outsider user: Authenticated user belonging to a different workspace or project.
- Select the relevant actors for the workflow:
- Verify both UI affordances and server-side enforcement:
- UI layer: Restricted actions should be hidden or clearly disabled with an explanation so authorized vs. unauthorized capabilities are obvious.
- API / Server layer: Never trust hidden buttons alone. Verify that calling the API endpoint directly with a viewer's or outsider's credentials returns
403 Forbidden(or404 Not Foundacross tenants) and mutates zero data.
- Test mid-session role and membership changes:
- Check what happens when a user's role is downgraded, their membership is revoked, or an item is reassigned while they already have the page or form open.
- Verify filtered lists, exports, and notifications:
- Confirm that restricted fields or records excluded from a user's detail view do not leak through list summaries, search results, CSV exports, activity feeds, or webhook notifications.
- Hand complex policy-engine or RBAC/ABAC architecture findings to the authorization and multi-tenant specialists.
Csomagban lévő fájlok 1
SKILL.md
