This forum has moved, please join us on github discussions. We will keep these old posts available for reference. Thank you!

Apostrophe 2.15.1 released: fix for i18n bug, better support for public permissions

  • apos.permissions.addPublic accepts multiple arguments and array arguments, adding all of the permission names given including any listed in the arrays. This makes it more convenient to add a list of permissions that non-logged-in people should have.
  • Permissions checks for pieces admin routes longer check for req.user, checking for the appropriate edit- permission is sufficient and makes addPublic more useful.
  • Bumped the npm version of the i18n module dependency to address a problem where labels that happened to be numbers rather than strings would crash the template if passed to __(). This was an old issue but became apparent when we added a lot more translation calls in templates.
  • Documentation improvements.