Skip to content
  • Iqbal Maulana's avatar
    9cde322a
    feat(user): add user management component with role-based authorization · 9cde322a
    Iqbal Maulana authored
    This commit introduces a new user management component for the Hyperf framework. The component includes user and role models, migrations for creating corresponding tables, and relations between them. A role-based authorization feature is implemented, supporting checks for whether a user has a specific role or any role from a given list. The newly added tests ensure the functionality of the component.
    9cde322a
    feat(user): add user management component with role-based authorization
    Iqbal Maulana authored
    This commit introduces a new user management component for the Hyperf framework. The component includes user and role models, migrations for creating corresponding tables, and relations between them. A role-based authorization feature is implemented, supporting checks for whether a user has a specific role or any role from a given list. The newly added tests ensure the functionality of the component.
Loading