andrewDruV1 / app-engine-site-creator

Automatically exported from code.google.com/p/app-engine-site-creator
0 stars 0 forks source link

Add anonymous access to pages #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If you could mark pages for anonymous access this would be good, this
should not redirect to the login page for any page set to anonymous.

Original issue reported on code.google.com by kellycri...@gmail.com on 14 Nov 2008 at 3:35

GoogleCodeExporter commented 9 years ago
This is definitely on our list of things to do.  We would need to remove the 
login: required restrictions in 
app.yaml and provide an additional permission set to allow anonymous access on 
a per-page basis.

Original comment by James.Bo...@gmail.com on 23 Dec 2008 at 2:35

GoogleCodeExporter commented 9 years ago
what about just making the global_read truly "global" as in not requiring a
user/profile...?

Original comment by realgt on 28 Jan 2009 at 2:11

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
i'm attaching a version which has a new base.html and a base.admin.html (the old
base.html) 

this version also allows for anonymous page browsing and a few other tweaks 
like a
site description, etc.

the new base.html is based off
http://www.opensourcetemplates.org/templates/preview/1312612761/ but any 
template can
be used to create a different front end.

(edit: updated version removes customized values in configuration.py)
(edit: fixed login issue with admins in app.yaml line 24)

Original comment by realgt on 29 Jan 2009 at 3:36

Attachments:

GoogleCodeExporter commented 9 years ago
thanks realgt. works real good.

Original comment by pra...@gmail.com on 29 Jan 2009 at 7:15

GoogleCodeExporter commented 9 years ago
heres another update...i found a small bug once someone logs in who is neither 
the
application admin nor a super user they were seeing the 403 "access forbidden" 
error
on the pages. (commented out lines 60 and 61 in middleware.py which returned
utility.forbidden)

Original comment by realgt on 29 Jan 2009 at 6:40

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in r44

Original comment by James.Bo...@gmail.com on 1 Feb 2009 at 1:36