Skip to content

未ログインのユーザーの処理 #28

Description

@kteraguchi

未ログインユーザーはvisitorのRoleが割り当てられている。
しかし、BlockのPermission取得時にroles_room_idを検索条件にしている。
roles_room_idは、user_idがないため空。
結果、BlockのPermissionが取得されない。

block_role_permissionsテーブルのroles_room_idをrole_keyに変更して、
block_keyとrole_keyを条件に取得すると良いと思う。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions