FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

enhance user management and permissions

 
Post new topic   Reply to topic    PyLucid - CMS - Forum Forum Index -> system
View previous topic :: View next topic  
Author Message
jens
Administrator


Joined: 12 Oct 2005
Posts: 972
Location: duisburg, germany

PostPosted: Thu 14 Feb, 2008 15:11    Post subject: enhance user management and permissions Reply with quote

We need a enhanced user management and permissions system:
http://trac.pylucid.net/ticket/147

First step, use the basic django user types:
    -Anonymous (User how is not logged in)
    -is_staff - can access the admin site
    -is_superuser - has all permissions without explicitly assigning them

http://www.djangoproject.com/documentation/authentication/#users

Second step: Use the django group_permissions:
http://www.djangoproject.com/documentation/authentication/#permissions

At the moment, we use only two kinds of user:
user with access to the Django admin interface and user without access to it.
http://pylucid.org/_goto/122/User-Managment/

We have the two plugin variable "must_login" and "must_admin"...
A user can access a "must_admin" method if he is_staff or is_superuser. That's not the best way.

This should be changed in v0.8.1
_________________

http://www.jensdiemer.de | http://www.htfx.de | http://www.python-forum.de
Back to top
View user's profile Send private message
sepharim



Joined: 27 Dec 2007
Posts: 180
Location: Germany

PostPosted: Tue 19 Feb, 2008 00:38    Post subject: Reply with quote

Can we create own groups already? Something like that would be nice too, so that you can create pages/folders where a defined group of users can write.

Not for 0.8.1 but to keep in mind for later
Back to top
View user's profile Send private message
jens
Administrator


Joined: 12 Oct 2005
Posts: 972
Location: duisburg, germany

PostPosted: Tue 19 Feb, 2008 08:17    Post subject: Reply with quote

Yes, you should be able to build user groups. Its a features inherited from django.
But i never test this. The usergroups did nowhere recognize in PyLucid, yet.
_________________

http://www.jensdiemer.de | http://www.htfx.de | http://www.python-forum.de
Back to top
View user's profile Send private message
rantaaho



Joined: 09 Jan 2008
Posts: 47
Location: Kuopio, Finland

PostPosted: Tue 19 Feb, 2008 09:15    Post subject: Reply with quote

It is something that I plan to implement as soon as I find time for it...
Back to top
View user's profile Send private message
sepharim



Joined: 27 Dec 2007
Posts: 180
Location: Germany

PostPosted: Fri 22 Feb, 2008 01:35    Post subject: Reply with quote

Then i'm not alone with searching time for it Wink
Back to top
View user's profile Send private message
jens
Administrator


Joined: 12 Oct 2005
Posts: 972
Location: duisburg, germany

PostPosted: Fri 22 Feb, 2008 08:14    Post subject: Reply with quote

The time is the limited factor, for everything Wink
_________________

http://www.jensdiemer.de | http://www.htfx.de | http://www.python-forum.de
Back to top
View user's profile Send private message
jens
Administrator


Joined: 12 Oct 2005
Posts: 972
Location: duisburg, germany

PostPosted: Fri 13 Jun, 2008 22:47    Post subject: Reply with quote

I created a Wiki page for collection ideas around this:

http://trac.pylucid.net/wiki/UserPermissions

Please contribute Wink
_________________

http://www.jensdiemer.de | http://www.htfx.de | http://www.python-forum.de
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PyLucid - CMS - Forum Forum Index -> system All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

<< back to PyLucid CMS Homepage



Powered by phpBB © 2001, 2005 phpBB Group