equal
deleted
inserted
replaced
97 |
97 |
98 While modifying the description of an entity, you get an error message in |
98 While modifying the description of an entity, you get an error message in |
99 the application `Error while publishing ...` for Rest text and plain text. |
99 the application `Error while publishing ...` for Rest text and plain text. |
100 The server returns a traceback like as follows :: |
100 The server returns a traceback like as follows :: |
101 |
101 |
102 2008-10-06 15:05:08 - (erudi.rest) ERROR: error while publishing ReST text |
102 2008-10-06 15:05:08 - (cubicweb.rest) ERROR: error while publishing ReST text |
103 Traceback (most recent call last): |
103 Traceback (most recent call last): |
104 File "/home/sandrine/src/blogdemo/ginco/common/rest.py", line 217, in rest_publish |
104 File "/home/user/src/blogdemo/cubicweb/common/rest.py", line 217, in rest_publish |
105 File "/usr/lib/python2.5/codecs.py", line 817, in open |
105 File "/usr/lib/python2.5/codecs.py", line 817, in open |
106 file = __builtin__.open(filename, mode, buffering) |
106 file = __builtin__.open(filename, mode, buffering) |
107 TypeError: __init__() takes at most 3 arguments (4 given) |
107 TypeError: __init__() takes at most 3 arguments (4 given) |
108 |
108 |
109 |
109 |
154 |
154 |
155 This allows to bypass authentication for your site. In the |
155 This allows to bypass authentication for your site. In the |
156 ``all-in-one.conf`` file of your instance, define the anonymous user |
156 ``all-in-one.conf`` file of your instance, define the anonymous user |
157 as follows :: |
157 as follows :: |
158 |
158 |
159 # login of the Erudi user account to use for anonymous user (if you want to |
159 # login of the CubicWeb user account to use for anonymous user (if you want to |
160 # allow anonymous) |
160 # allow anonymous) |
161 anonymous-user=anon |
161 anonymous-user=anon |
162 |
162 |
163 # password of the Erudi user account matching login |
163 # password of the CubicWeb user account matching login |
164 anonymous-password=anon |
164 anonymous-password=anon |
165 |
165 |
166 You also must ensure that this `anon` user is a registered user of |
166 You also must ensure that this `anon` user is a registered user of |
167 the DB backend. This could be the admin account (for development |
167 the DB backend. This could be the admin account (for development |
168 purposes, of course). |
168 purposes, of course). |
204 user-classes=top,posixAccount |
204 user-classes=top,posixAccount |
205 # attribute used as login on authentication |
205 # attribute used as login on authentication |
206 user-login-attr=uid |
206 user-login-attr=uid |
207 # name of a group in which ldap users will be by default |
207 # name of a group in which ldap users will be by default |
208 user-default-group=users |
208 user-default-group=users |
209 # map from ldap user attributes to erudi attributes |
209 # map from ldap user attributes to cubicweb attributes |
210 user-attrs-map=gecos:email,uid:login |
210 user-attrs-map=gecos:email,uid:login |
211 |
211 |
212 Any change applied to configuration file requires to restart your |
212 Any change applied to configuration file requires to restart your |
213 application. |
213 application. |
214 |
214 |