Hi there! I am willing to write a quite large application using Flask. I would like to know: what are the best practices in order to implement user management/authorization and an Access Control List? I think there is no such thing in the Flask core, but there is an extension (Flask-Principal) that does identity management. Maybe it's a good idea to extend this extension? Is there a simple way to do that? Any ideas would be very appreciated. Thank you in advance. Alberto
Well, I'll use flask-login for authentication and principal for "permissions". I plan not using oath but, time will tell Maybe that will do the trick for you as too. = ] 2011/9/11 Alberto Piu <piu.alberto@gmail.com> > Hi there! > > I am willing to write a quite large application using Flask. > I would like to know: what are the best practices in order to implement > user management/authorization and an Access Control List? > I think there is no such thing in the Flask core, but there is an extension > (Flask-Principal) that does identity management. Maybe it's a good idea to > extend this extension? > > Is there a simple way to do that? > Any ideas would be very appreciated. > > Thank you in advance. > Alberto > > -- "A arrogância é a arma dos fracos." =========================== Italo Moreira Campelo Maia Bacharel em Ciência da Computação - UECE Desenvolvedor WEB e Desktop (Java, Python, Lua) Coordenador do Pug-CE ----------------------------------------------------- http://www.italomaia.com/ http://twitter.com/italomaia/ http://eusouolobomau.blogspot.com/ ----------------------------------------------------- Turtle Linux 9.10 - http://tiny.cc/blogturtle910 Turtle Linux 10.10 - http://bit.ly/cEw4ET ===========================
I have found the snippets very useful too in that matter. Take a look in django.contrib.auth and django-registration for inspiration = ] 2011/9/13 Italo Maia <italo.maia@gmail.com> > Well, I'll use flask-login for authentication and principal for > "permissions". I plan not using oath but, time will tell > > Maybe that will do the trick for you as too. > = ] > > > 2011/9/11 Alberto Piu <piu.alberto@gmail.com> > >> Hi there! >> >> I am willing to write a quite large application using Flask. >> I would like to know: what are the best practices in order to implement >> user management/authorization and an Access Control List? >> I think there is no such thing in the Flask core, but there is an >> extension (Flask-Principal) that does identity management. Maybe it's a good >> idea to extend this extension? >> >> Is there a simple way to do that? >> Any ideas would be very appreciated. >> >> Thank you in advance. >> Alberto >> >> > > > -- > "A arrogância é a arma dos fracos." > > =========================== > Italo Moreira Campelo Maia > Bacharel em Ciência da Computação - UECE > Desenvolvedor WEB e Desktop (Java, Python, Lua) > Coordenador do Pug-CE > ----------------------------------------------------- > http://www.italomaia.com/ > http://twitter.com/italomaia/ > http://eusouolobomau.blogspot.com/ > ----------------------------------------------------- > Turtle Linux 9.10 - http://tiny.cc/blogturtle910 > Turtle Linux 10.10 - http://bit.ly/cEw4ET > =========================== > -- "A arrogância é a arma dos fracos." =========================== Italo Moreira Campelo Maia Bacharel em Ciência da Computação - UECE Desenvolvedor WEB e Desktop (Java, Python, Lua) Coordenador do Pug-CE ----------------------------------------------------- http://www.italomaia.com/ http://twitter.com/italomaia/ http://eusouolobomau.blogspot.com/ ----------------------------------------------------- Turtle Linux 9.10 - http://tiny.cc/blogturtle910 Turtle Linux 10.10 - http://bit.ly/cEw4ET ===========================
Thanks, this is very interesting. Thank you for your reply. Alberto Il giorno 14/set/2011, alle ore 00:02, Italo Maia ha scritto: > I have found the snippets very useful too in that matter. Take a look in django.contrib.auth and django-registration for inspiration = ] > > 2011/9/13 Italo Maia <italo.maia@gmail.com> > Well, I'll use flask-login for authentication and principal for "permissions". I plan not using oath but, time will tell > > Maybe that will do the trick for you as too. > = ] > > > 2011/9/11 Alberto Piu <piu.alberto@gmail.com> > Hi there! > > I am willing to write a quite large application using Flask. > I would like to know: what are the best practices in order to implement user management/authorization and an Access Control List? > I think there is no such thing in the Flask core, but there is an extension (Flask-Principal) that does identity management. Maybe it's a good idea to extend this extension? > > Is there a simple way to do that? > Any ideas would be very appreciated. > > Thank you in advance. > Alberto > > > > > -- > "A arrogância é a arma dos fracos." > > =========================== > Italo Moreira Campelo Maia > Bacharel em Ciência da Computação - UECE > Desenvolvedor WEB e Desktop (Java, Python, Lua) > Coordenador do Pug-CE > ----------------------------------------------------- > http://www.italomaia.com/ > http://twitter.com/italomaia/ > http://eusouolobomau.blogspot.com/ > ----------------------------------------------------- > Turtle Linux 9.10 - http://tiny.cc/blogturtle910 > Turtle Linux 10.10 - http://bit.ly/cEw4ET > =========================== > > > > -- > "A arrogância é a arma dos fracos." > > =========================== > Italo Moreira Campelo Maia > Bacharel em Ciência da Computação - UECE > Desenvolvedor WEB e Desktop (Java, Python, Lua) > Coordenador do Pug-CE > ----------------------------------------------------- > http://www.italomaia.com/ > http://twitter.com/italomaia/ > http://eusouolobomau.blogspot.com/ > ----------------------------------------------------- > Turtle Linux 9.10 - http://tiny.cc/blogturtle910 > Turtle Linux 10.10 - http://bit.ly/cEw4ET > ===========================