Skip to content

Commit 0fce7d1

Browse files
authored
Merge pull request #17519 from phalcon/CP-17435-acl-alignment
CP-17435 acl alignment
2 parents e911d9d + 7f66701 commit 0fce7d1

320 files changed

Lines changed: 4453 additions & 4234 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ext/config.m4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,7 @@ if test "$PHP_PHALCON" = "yes"; then
570570
phalcon/container/resolver/resolver.zep.c
571571
phalcon/contracts/adr/adrtypes.zep.c
572572
phalcon/contracts/adr/action.zep.c
573+
phalcon/contracts/acl/acltypes.zep.c
573574
phalcon/contracts/application/applicationtypes.zep.c
574575
phalcon/contracts/auth/authremember.zep.c
575576
phalcon/contracts/auth/remembertoken.zep.c

ext/config.w32

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ if (PHP_PHALCON != "no") {
128128
ADD_SOURCES(configure_module_dirname + "/phalcon/cache", "cacheinterface.zep.c abstractcache.zep.c adapterfactory.zep.c cache.zep.c cachefactory.zep.c", "phalcon");
129129
ADD_SOURCES(configure_module_dirname + "/phalcon/cli", "taskinterface.zep.c dispatcherinterface.zep.c routerinterface.zep.c task.zep.c console.zep.c dispatcher.zep.c router.zep.c", "phalcon");
130130
ADD_SOURCES(configure_module_dirname + "/phalcon/contracts/adr/responder/formatter", "formatter.zep.c", "phalcon");
131-
ADD_SOURCES(configure_module_dirname + "/phalcon/contracts/acl", "component.zep.c role.zep.c componentaware.zep.c roleaware.zep.c", "phalcon");
131+
ADD_SOURCES(configure_module_dirname + "/phalcon/contracts/acl", "component.zep.c role.zep.c componentaware.zep.c roleaware.zep.c acltypes.zep.c", "phalcon");
132132
ADD_SOURCES(configure_module_dirname + "/phalcon/contracts/cli", "dispatcher.zep.c clitypes.zep.c", "phalcon");
133133
ADD_SOURCES(configure_module_dirname + "/phalcon/contracts/encryption/crypt", "crypt.zep.c", "phalcon");
134134
ADD_SOURCES(configure_module_dirname + "/phalcon/contracts/encryption/security", "cryptoutils.zep.c csrfprotection.zep.c passwordsecurity.zep.c security.zep.c", "phalcon");

ext/phalcon.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ zend_class_entry *phalcon_acl_traits_itemtrait_ce;
236236
zend_class_entry *phalcon_assets_traits_attributestrait_ce;
237237
zend_class_entry *phalcon_assets_traits_sourcetargettrait_ce;
238238
zend_class_entry *phalcon_auth_adapter_config_traits_modelconfigtrait_ce;
239+
zend_class_entry *phalcon_contracts_acl_acltypes_ce;
239240
zend_class_entry *phalcon_contracts_adr_action_ce;
240241
zend_class_entry *phalcon_contracts_adr_adrtypes_ce;
241242
zend_class_entry *phalcon_contracts_application_applicationtypes_ce;
@@ -1837,6 +1838,7 @@ static PHP_MINIT_FUNCTION(phalcon)
18371838
ZEPHIR_INIT(Phalcon_Auth_Adapter_Config_Traits_ModelConfigTrait);
18381839
ZEPHIR_INIT(Phalcon_Contracts_ADR_ADRTypes);
18391840
ZEPHIR_INIT(Phalcon_Contracts_ADR_Action);
1841+
ZEPHIR_INIT(Phalcon_Contracts_Acl_AclTypes);
18401842
ZEPHIR_INIT(Phalcon_Contracts_Application_ApplicationTypes);
18411843
ZEPHIR_INIT(Phalcon_Contracts_Auth_AuthRemember);
18421844
ZEPHIR_INIT(Phalcon_Contracts_Auth_RememberToken);

ext/phalcon.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,7 @@
565565
#include "phalcon/container/resolver/resolver.zep.h"
566566
#include "phalcon/contracts/adr/adrtypes.zep.h"
567567
#include "phalcon/contracts/adr/action.zep.h"
568+
#include "phalcon/contracts/acl/acltypes.zep.h"
568569
#include "phalcon/contracts/application/applicationtypes.zep.h"
569570
#include "phalcon/contracts/auth/authremember.zep.h"
570571
#include "phalcon/contracts/auth/remembertoken.zep.h"

ext/phalcon/16__closure.zep.c

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ext/phalcon/17__closure.zep.c

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ext/phalcon/acl/abstractelement.zep.c

Lines changed: 14 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ext/phalcon/acl/adapter/abstractadapter.zep.c

Lines changed: 26 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)