Reference > API > Security > Role
Role
Role use cases and event handlers
- What use cases are available in
webiny/api/security/role? - Which event handlers can you implement?
- How to import and use each exported item?
Overview
This page documents everything exported from webiny/api/security/role. Import any of the items below directly from this path in your Webiny extensions.
Use Cases
Event Handlers
Use Cases
CreateRoleUseCase
Use Case Abstraction — imported from webiny/api/security/role
Interface CreateRoleUseCase.Interface:
Types:
Usage:
DeleteRoleUseCase
Use Case Abstraction — imported from webiny/api/security/role
Interface DeleteRoleUseCase.Interface:
Types:
Usage:
GetRoleUseCase
Use Case Abstraction — imported from webiny/api/security/role
Interface GetRoleUseCase.Interface:
Types:
Usage:
ListRolesUseCase
Use Case Abstraction — imported from webiny/api/security/role
Interface ListRolesUseCase.Interface:
Types:
Usage:
UpdateRoleUseCase
Use Case Abstraction — imported from webiny/api/security/role
Interface UpdateRoleUseCase.Interface:
Types:
Usage:
Event Handlers
RoleAfterCreateEventHandler
Event Handler Abstraction — imported from webiny/api/security/role
Interface RoleAfterCreateEventHandler.Interface:
Types:
Usage:
RoleAfterDeleteEventHandler
Event Handler Abstraction — imported from webiny/api/security/role
Interface RoleAfterDeleteEventHandler.Interface:
Types:
Usage:
RoleAfterUpdateEventHandler
Event Handler Abstraction — imported from webiny/api/security/role
Interface RoleAfterUpdateEventHandler.Interface:
Types:
Usage:
RoleBeforeCreateEventHandler
Event Handler Abstraction — imported from webiny/api/security/role
Interface RoleBeforeCreateEventHandler.Interface:
Types:
Usage:
RoleBeforeDeleteEventHandler
Event Handler Abstraction — imported from webiny/api/security/role
Interface RoleBeforeDeleteEventHandler.Interface:
Types:
Usage:
RoleBeforeUpdateEventHandler
Event Handler Abstraction — imported from webiny/api/security/role
Interface RoleBeforeUpdateEventHandler.Interface:
Types:
Usage: