UsersPackage

Core bitweaver Users management package

Created by: spiderr, Last modification: 30 Jun 2008 (09:29 UTC) by Kozuch
This is a required package used to manage user accounts (store in the users_users database table).

User Features
Description
Availability
Single Sign On slaves bitweaver to another application create a "bitweaver_login_override" function to that will permit you to slave bitweaver accounts to an external application - examples include a proprietary database or an existing PhpBBPackage installation ReleaseOne
User Home Page Customizeable user homepages ReleaseOne
User Preferences Working ReleaseOne
User Bookmarks ReleaseOne
User Watches Monitor changes to blogs and wiki pages ReleaseOne
User Tasks ReleaseOne
Users Can Customize Their Layout Working ReleaseOne
Users Can Change Their Theme ReleaseOne
Overridable user home page url manually decide what the user's home page url is ReleaseOne


Some Cool Notes:
  • bitweaver can act as a master or a slave for user accounts. This means you can easily bolt bitweaver into an existing, proprietary user account system. SingleSignOn is a piece of cake. To get this to work, create something like:

  • To create a custom user home page url, here is an example function you can put in your kernel/config_inc.php:

<?php
    
function override_user_url$pUserName ) {
        return 
'http://'.$_SERVER['HTTP_HOST'].'/'.$pUserName;
    }
?>


and add the following to path/to/bitweaver/.htaccess :

<?php
<IfModule mod_rewrite.c>
    
RewriteEngine on
    RewriteBase     
/
    
RewriteRule     ^([A-Za-z0-9_]+)$       /users/index.php?home=$[L,QSA]
</
IfModule>
?>


Development Notes:
(:exclaim:) We have created a "BitPermUser extends BitUser" class. This movee all groups and permission code into a single class. This makes it possible to have "BitGallery2User extends BitUser" if you wanted to use Gallery2Package group and permission tables.
(:exclaim:) we are also making it possible for normal users to create their own groups.


Comments

SSO?

by Bill Manes, 19 Oct 2008 (05:20 UTC)
Could someone provide an example of an SSO procedure? I would like to link from an existing site where users have already authenticated (user info is stored in session).
Bill

Re: SSO?

by laetzer, 19 Oct 2008 (19:49 UTC)
I for one don't know of an example for this. Sounds like a question suited better for the IRC channel #bitweaver on freenode.org, or bitweaver.org's forums.

Re: SSO?

by Bill Manes, 20 Oct 2008 (17:15 UTC)
Checked the forums and no luck. Can't use IRC. The only reason I put the comment here is the note above says "SingleSignOn is a piece of cake. To get this to work, create something like:", but nothing follows. I was hoping maybe it would "magically appear" (:confused:)(:smile:)
  Page 1 of 1  1