apostrophecms / apostrophe-sandbox

This sandbox site is the basis for our live demo. For your own projects, you can use apostrophe-boilerplate as a more streamlined, cleaner point of departure via the apostrophe-cli tool.
MIT License
112 stars 41 forks source link

Really basic permissions do not work #61

Closed fotisp closed 7 years ago

fotisp commented 7 years ago

The following instructions do not work on the sandbox

http://apostrophecms.org/docs/tutorials/intermediate/permissions.html

Steps to reproduce

  1. Clone the sandbox 2.Delete lib/modules/demo-autologin 3.Run node app.js apostrophe-db:reset 4.Run node app.js apostrophe-users:add admin admin (you pass of choice) 5.Login into apostrophe 6.Create a guest user 7.Create any page with "Login Required" (take a note of the slug) 8.Logout 9.Login as the guest user 10.Visit the URL from step 7.
  2. You get a 404.

Expected Outcome

In step 11. See the page which has "Login Required" selected.

Note: It seems this is not a sanbox error, its either an apostrophe one or a documentation one, I stumbled upon this on a custom project, however the same is true here.

boutell commented 7 years ago

This is a configuration oversight in the sandbox project. The guest group should have been given the "guest" permission. This has been fixed in: 22c26a8

On Fri, Nov 25, 2016 at 10:26 AM, Fotis Paraskevopoulos < notifications@github.com> wrote:

The following instructions do not work on the sandbox

http://apostrophecms.org/docs/tutorials/intermediate/permissions.html

Steps to reproduce

  1. Clone the sandbox 2.Delete lib/modules/demo-autologin 3.Run node app.js apostrophe-db:reset 4.Run node app.js apostrophe-users:add admin admin (you pass of choice) 5.Login into apostrophe 6.Create a guest user 7.Create any page with "Login Required" (take a note of the slug) 8.Logout 9.Login as the guest user 10.Visit the URL from step 7.
  2. You get a 404.

Expected Outcome

In step 11. See the page which has "Login Required" selected.

Note: It seems this is not a sanbox error, its either an apostrophe one or a documentation one, I stumbled upon this on a custom project, however the same is true here.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/punkave/apostrophe-sandbox/issues/61, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB9fZSq1UuOiqFXC016dLHhnOpSCf0cks5rBv45gaJpZM4K8iE0 .

--

THOMAS BOUTELL, SUPPORT LEAD P'UNK AVENUE | (215) 755-1330 | punkave.com