What problem does it solve?
Developers extending the Webiny admin application often struggle to locate the correct security abstractions for authentication, identity, and permission checks across the codebase. This Skill provides a curated catalog of 15 security abstractions with exact import paths and source file locations.
Core Features & Use Cases
- Authentication Abstractions: Access
AuthenticationContext, useAuthentication, LogInUseCase, and LogOutUseCase for login flows.
- Identity Management: Use
IdentityContext and useIdentity to retrieve the current user identity in admin UI components.
- Permission Controls: Implement permission checks with
createHasPermission, createUsePermissions, HasPermissionComponent, and the Permissions type.
- Use Case: When building a custom admin feature that must hide UI elements based on user permissions, look up
HasPermissionComponent in the catalog, read its source file, and import it directly.
Quick Start
Ask the AI to find the Webiny admin security abstraction for checking user permissions and show its import path and source file.