Reference > API > Security > Role
Role
Role use cases and event handlers
- What use cases are available in
webiny/api/security/role? - 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
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
RoleAfterCreateHandler
Event Handler Abstraction — imported from webiny/api/security/role
Interface RoleAfterCreateHandler.Interface:
Types:
Usage:
RoleAfterDeleteHandler
Event Handler Abstraction — imported from webiny/api/security/role
Interface RoleAfterDeleteHandler.Interface:
Types:
Usage:
RoleAfterUpdateHandler
Event Handler Abstraction — imported from webiny/api/security/role
Interface RoleAfterUpdateHandler.Interface:
Types:
Usage:
RoleBeforeCreateHandler
Event Handler Abstraction — imported from webiny/api/security/role
Interface RoleBeforeCreateHandler.Interface:
Types:
Usage:
RoleBeforeDeleteHandler
Event Handler Abstraction — imported from webiny/api/security/role
Interface RoleBeforeDeleteHandler.Interface:
Types:
Usage:
RoleBeforeUpdateHandler
Event Handler Abstraction — imported from webiny/api/security/role
Interface RoleBeforeUpdateHandler.Interface:
Types:
Usage: