Skip to content

Skip initialisation with zero authsources.#7

Open
thijskh wants to merge 1 commit intosgomez:masterfrom
thijskh:feature/skip-initialisation-with-zero-authsources
Open

Skip initialisation with zero authsources.#7
thijskh wants to merge 1 commit intosgomez:masterfrom
thijskh:feature/skip-initialisation-with-zero-authsources

Conversation

@thijskh
Copy link
Contributor

@thijskh thijskh commented May 11, 2019

This allows me to include the bundle in my project, including changes
to the various files and use twig fucntions as conditionals, but only
activate it for deploys that will be using SSP authn. This change
basically allows you to comment out/leave out the ssp_guard config in
app/config/config.yml. If you do so, your project will just work and
the twig helpers will tell you that there are 0 authsources. It is
also then not necessary that the installation_path of ssp exists.
It leaves enable/disable configuration of the bundle in one place.

This allows me to include the bundle in my project, including changes
to the various files and use twig fucntions as conditionals, but only
activate it for deploys that will be using SSP authn. This change
basically allows you to comment out/leave out the ssp_guard config in
app/config/config.yml. If you do so, your project will just work and
the twig helpers will tell you that there are 0 authsources. It is
also then not necessary that the installation_path of ssp exists.
It leaves enable/disable configuration of the bundle in one place.
@thijskh
Copy link
Contributor Author

thijskh commented May 11, 2019

The diff looks larger than it is - it's basically the addition of an if block.

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.

1 participant