WHAT YOU'LL LEARN
  • 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
anchor

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
anchor

CreateRoleUseCase
anchor

Use Case Abstraction — imported from webiny/api/security/role

Interface CreateRoleUseCase.Interface:

Types:

Usage:

extensions/MyImpl.ts

DeleteRoleUseCase
anchor

Use Case Abstraction — imported from webiny/api/security/role

Interface DeleteRoleUseCase.Interface:

Types:

Usage:

extensions/MyImpl.ts

GetRoleUseCase
anchor

Use Case Abstraction — imported from webiny/api/security/role

Interface GetRoleUseCase.Interface:

Types:

Usage:

extensions/MyImpl.ts

ListRolesUseCase
anchor

Use Case Abstraction — imported from webiny/api/security/role

Interface ListRolesUseCase.Interface:

Types:

Usage:

extensions/MyImpl.ts

UpdateRoleUseCase
anchor

Use Case Abstraction — imported from webiny/api/security/role

Interface UpdateRoleUseCase.Interface:

Types:

Usage:

extensions/MyImpl.ts

Event Handlers
anchor

RoleAfterCreateEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/security/role

Interface RoleAfterCreateEventHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts

RoleAfterDeleteEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/security/role

Interface RoleAfterDeleteEventHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts

RoleAfterUpdateEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/security/role

Interface RoleAfterUpdateEventHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts

RoleBeforeCreateEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/security/role

Interface RoleBeforeCreateEventHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts

RoleBeforeDeleteEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/security/role

Interface RoleBeforeDeleteEventHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts

RoleBeforeUpdateEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/security/role

Interface RoleBeforeUpdateEventHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts