-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: permission filter ignored on modules #640
Comments
I think i've found the issue/solution for this:
The only problem with this, according to the docs, it disregards any groups if they are a part of it. |
It seems if hasPermission($permission) returns true, can($permission) also returns true. And if |
@bedrijfsportaal Do you still have this issue? |
Hi All,
Erik is deceised on august 6 and we as family are not able to answer this question!
Keep up the good work on this project, Erik loved Codeigniter!
Kind regards,
Family of Erik Kraijenoord
…------- Original Message -------
Op dinsdag 19 september 2023 om 13:14 schreef kenjis ***@***.***>:
***@***.***(https://github.com/bedrijfsportaal) Do you still have this issue?
—
Reply to this email directly, [view it on GitHub](#640 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AHX3V3RZPPPQWSL4ZCTPZB3X3F5BVANCNFSM6AAAAAAU5G6SW4).
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I offer my condolences on behalf of Codeigniter community. |
@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 filtergroup
is working as expected.Steps to Reproduce
Working from App directory like below:
permission
is set like normally the case would be['filter' => 'permission:beta.access']
From this point nothing is done, checking the filter in routes from spark command results
Expected Output
The filter to be working on the routes when set from own directory.
Anything else?
No response
The text was updated successfully, but these errors were encountered: