Skip to content
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

[improve] Add field on CMS pages to authorize them to not force login #183

Open
nelero opened this issue Mar 22, 2020 · 2 comments
Open

Comments

@nelero
Copy link

nelero commented Mar 22, 2020

For us, module is used to prevent catalog access (categories pages, products pages, searches, cart) for not logged in users.
All pages allowed are :

  • homepage
  • account pages (login, passwordreset, create,...)
  • all cms pages

But everytime we add a CMS page, we need to add its url in the whitelist.
We have more than 100 pages in CMS pages and they are not having a specific word in their url.
So we have to manually add them in the whitelist (and not forget to add them on creation process)
It's time consuming and source for errors for contributors.

We should have a field on cms page creation (boolean field) to authorize page to not force login.

@nelero
Copy link
Author

nelero commented Mar 22, 2020

And we should have some options to whitelist or "force login" type of pages instead of urls : Magento knows the type of the page visited (home, cms, product, category, search results, cart)
so we could have a flexible way to isolate specific type of pages even they don't have a common element in their url.

Thanks

@shochdoerfer
Copy link
Member

Thanks for this idea. It might make sense to add a feature like this. When we started developing this module a few years back we had only merchants with just a few pages.

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

No branches or pull requests

3 participants