Skip to content

Bug: permission filter ignored on modules #640

Open
@bedrijfsportaal

Description

@bedrijfsportaal

PHP Version

8.1.6

CodeIgniter4 Version

4.3.1

Shield Version

latest commit

Which operating systems have you tested for this bug?

Windows (happens on server Linux as well)

Which server did you use?

cli-server (PHP built-in webserver)

Database

MariaDB 10.4.24

Did you customize Shield?

No

What happened?

The filters in my module doesn't seem to be working on permission the filter group is working as expected.

Steps to Reproduce

Working from App directory like below:

  • App\Addons\Woocommerce\Config\Routes.php
  • The filter permission is set like normally the case would be ['filter' => 'permission:beta.access']
  • Just noticed this on the current commit, don't know since when this is broken.

From this point nothing is done, checking the filter in routes from spark command results

image

Expected Output

The filter to be working on the routes when set from own directory.

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting for infoIssues or pull requests that need further clarification from the author

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions