[Sputnik-list] Plans for Sputnik

Yuri Takhteyev yuri at sims.berkeley.edu
Mon Dec 31 04:16:54 GMT+3 2007


Glad you liked it.

> * Separate login/logout/register pages for user management
> * Email confirmation for new user creation
> * User "permission" levels, so certain sections of the site can be restricted

Permissions are added in 7.12.26.   For instance, config pages are now
only editable by "Admin" by default by means of setting

permissions = [[
   deny(all, "save")
   allow("Admin", "save")
]]

in @Text_Config and @Lua_Config.  Note that permissions can be
inherited but can be overriden.  E.g., if a page inherits from
@Lua_Config but sets

permissions = [[
    allow("Bob", "save")
]]

then "Admin" and "Bob" would be allowed to save.  Group permissions
will be checked in soon.

As for 1 and 2, I want to add alternative signup procedures
eventually, and the "standard" regiester-check-mail-confirm-login
method would probably be at the top of the list then.  However, I am
not sure when this will happen.  First, there are a few things that
are higher priority for me (e.g., indexing), and second I want to
figure out how to do this right, which might take some time.  It
should be quite easy to take an snapshot of Sputnik and hack it to
support this alternative registration method.
(sputnik.authentication.check_password would need to be broken into
two functions, but apart from that it's mostly a matter of adding
editing some templates and figuring out how to send email.)  To do it
properly, however, I would need to decompose it right.  That might
take some thought.  If you want to help with this effort, I will do a
part.  Otherwise no promises about timing.

> I've just joined but will continue reviewing the archives and wiki,
> until a point where I have a bit more time to contribute directly to
> the project.

The wiki is a bit outdated, and the list archives might not tell you
that much.  However, I put good effort into documenting the code, so I
would recommend looking at that.  I also just added an architecture
diagram which will hopefully help:
http://sputnik.freewisdom.org/en/Architecture

- yuri

-- 
http://sputnik.freewisdom.org/



More information about the Sputnik-list mailing list