CWEP-0001 as copy-pasted from cubicweb.org draft default tip
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Mon, 13 Jan 2014 14:31:53 +0100
changeset 2 fb1a28032389
parent 0 c628b3e8a6f1
CWEP-0001 as copy-pasted from cubicweb.org
CWEP-001.rst
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CWEP-001.rst	Mon Jan 13 14:31:53 2014 +0100
@@ -0,0 +1,51 @@
+CWEP-0001 - login and account creation process
+==============================================
+
+:champion: Nicolas Chauvat
+:last update: 2010/11/30
+:status: draft
+
+Rationale
+---------
+
+The current login and account creation process is too complex.
+
+We recently added OpenID, which is nice. We may add soon OAuth, which
+will be good. Or maybe we will implement WedID first. Anyway, how many
+icons will we end up with in the top right corner ? Right now, on my
+instance I can see four: anonymous [openid icon] [register] [log in].
+
+Proposal
+--------
+
+The goal would be to have a single item in the top-right corner
+related to authentication information.
+
+When not logged-in, it would read "sign in" in english or "connexion" in french.
+
+When logged-in, it would display your username, as is currently done.
+
+Clicking on the "sign in" link would get you to a page where you could
+log in or create an account. That page would display as many different
+authentication mechanism as known by the app (looking these up in the
+registry).
+
+The page could look something like
+http://www.semweb.pro/conference/semwebpro2011/registration
+
+For examples of such pages, one can look at google, twitter or meetup.
+
+Implementation
+--------------
+
+As you guessed, a first implementation is available from the
+cubicweb-conference cube.
+http://hg.logilab.org/cubes/conference/file/f41c7b623dc4/views/startup.py#l47
+
+Discussion
+-----------
+
+Please comment.
+
+See also http://lists.cubicweb.org/pipermail/cubicweb/2010-November/000572.html
+