Skip to content

[WIP]3.1.x firewall#12561

Closed
Jurigag wants to merge 3 commits into
phalcon:3.1.xfrom
Jurigag:3.1.x-firewall
Closed

[WIP]3.1.x firewall#12561
Jurigag wants to merge 3 commits into
phalcon:3.1.xfrom
Jurigag:3.1.x-firewall

Conversation

@Jurigag

@Jurigag Jurigag commented Jan 20, 2017

Copy link
Copy Markdown
Contributor

Hello!

  • Type: new feature
  • Link to issue:

In raising this pull request, I confirm the following (please check boxes):

  • I have read and understood the Contributing Guidelines?
  • I have checked that another pull request for this purpose does not exist.
  • I wrote some tests for this PR.

Small description of change: this pr is adding Firewall component, way to protect routes against unauthorized roles to access certain routes. It's done using listener on dispatcher/micro on beforeExecute/afterBinding event.

In dispatcher you can either use Annotations or Acl based firewall. In micro there is only Acl based firewall.

Would appreciate any comments etc.

This PR is commits/changes from other PRs etc stuff so don't bother them, i will rebase everything if all will be merged.
Thanks

Related:
https://github.com/phalcon/cphalcon/issues/11389
#582

@ruudboon

Copy link
Copy Markdown
Member

Could we reopen this issue? Looks like it didn't made it to 3.2.x branch.

@Jurigag

Jurigag commented Sep 23, 2017

Copy link
Copy Markdown
Contributor Author

I will make it for 3.3 or 4.0, will see

@ruudboon

Copy link
Copy Markdown
Member

Is this still on the map for 4.0?

@niden niden added this to the 4.0.0 milestone Dec 10, 2018
@niden niden mentioned this pull request May 15, 2019
4 tasks
@niden

niden commented May 15, 2019

Copy link
Copy Markdown
Member

Implemented in #14078

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants