WHAT YOU'LL LEARN
  • What use cases are available in webiny/api/security/role?
  • 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
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

RoleAfterCreateHandler
anchor

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

Interface RoleAfterCreateHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts

RoleAfterDeleteHandler
anchor

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

Interface RoleAfterDeleteHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts

RoleAfterUpdateHandler
anchor

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

Interface RoleAfterUpdateHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts

RoleBeforeCreateHandler
anchor

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

Interface RoleBeforeCreateHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts

RoleBeforeDeleteHandler
anchor

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

Interface RoleBeforeDeleteHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts

RoleBeforeUpdateHandler
anchor

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

Interface RoleBeforeUpdateHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts