Kees Hink wrote:
Hello,
I just installed membrane+remember on a fresh Plone 3 site
using a buildout. (See buildout.cfg below.) Someone who
tries to register and clicks the "register" (join_form) link
is redirected to the login form. In the default Plone,
without membrane+remember, this is not the case.
The permission "Add portal member" is given to Anonymous.
The permissions "remember: Add FolderishMember" is given to
no one, but giving it to Anonymous doesn't make a difference.
How can i enable self-registering?
hmmm... i'm unable to reproduce the problem. your buildout.cfg had a few
settings that were specific to you, so i modified it a bit... here's what i used:
-----------BEGIN buildout.cfg---------------
[buildout]
parts =
plone
zope2
productdistros
instance
zopepy
# Add additional egg download sources here. dist.plone.org contains archives
# of Plone packages.
find-links =
http://dist.plone.org
http://download.zope.org/ppix/
http://download.zope.org/distribution/
http://effbot.org/downloads
# Add additional eggs here
# elementtree is required by Plone
eggs =
elementtree
Products.membrane
Products.remember
# Reference any eggs you are developing here, one per line
# e.g.: develop = src/my.package
develop =
src/Products.remember
[plone]
recipe = plone.recipe.plone>=3.1.1,<3.2dev
[zope2]
recipe = plone.recipe.zope2install
url = ${plone:zope2-url}
# Use this section to download additional old-style products.
# List any number of URLs for product tarballs under URLs (separate
# with whitespace, or break over several lines, with subsequent lines
# indented). If any archives contain several products inside a top-level
# directory, list the archive file name (i.e. the last part of the URL,
# normally with a .tar.gz suffix or similar) under 'nested-packages'.
# If any archives extract to a product directory with a version suffix, list
# the archive name under 'version-suffix-packages'.
[productdistros]
recipe = plone.recipe.distros
urls =
nested-packages =
version-suffix-packages =
[instance]
recipe = plone.recipe.zope2instance
zope2-location = ${zope2:location}
user = admin:admin
http-address = 8081
debug-mode = on
#verbose-security = on
# If you want Zope to know about any additional eggs, list them here.
# This should include any development eggs you listed in develop-eggs above,
# e.g. eggs = ${buildout:eggs} ${plone:eggs} my.package
eggs =
${buildout:eggs}
${plone:eggs}
# If you want to register ZCML slugs for any packages, list them here.
# e.g. zcml = my.package my.other.package
zcml =
products =
${buildout:directory}/products
${productdistros:location}
${plone:products}
[zopepy]
recipe = zc.recipe.egg
eggs = ${instance:eggs}
interpreter = zopepy
#extra-paths = /home/kees/Zope-2.10.6-final/lib/python
scripts = zopepy
--------------END buildout.cfg-----------------
here are the exact steps i took to create my environment:
- run 'bootstrap.py' in the directory where the buildout.cfg lives to create
the buildout environment
- mkdir src
- cd src
- svn co https://svn.plone.org/svn/collective/Products.remember/trunk
Products.remember
- run './bin/buildout' to build Zope, Plone, etc.
at this point './bin/instance fg' works to start Zope. once Zope is started,
i added a Plone site w/ the membrane and remember extension profiles. then i
visited the control panel to set the mail settings (in the 'Mail' panel) and
enable self registration (in the 'Security' panel). i tried it both with 'Let
users select their own passwords' unchecked and checked, in each case i was
able to join the site as an anonymous user w/ no problems.
it's possible you're using an older version of Remember that has a bug; if
your Remember isn't up to date, try using the trunk, see if that helps. if
it's not that, then you'll have to debug to see what, exactly, is causing your
problem. please refer to
http://plone.org/documentation/how-to/debug-unauthorized for help getting a
traceback.
-r
--
Archive:
http://www.openplans.org/projects/remember/lists/remember/archive/2008/08/1219256334803
To unsubscribe send an email with subject "unsubscribe" to [EMAIL PROTECTED]
Please contact [EMAIL PROTECTED] for questions.