Version 3 (modified by 16 years ago) (diff) | ,
---|
UserManagerPlugin
Notice: This plugin is unmaintained and available for adoption.
Description
Yet another user manager plugin that has the following features:
- helps managing users(profiles, permissions, authentication[based on acct_mngr], and any other things based on this plugin's extension points )
- provides filterable team rosters based on user profiles(+ custom fields)
The main goal of this plugin is to to have a simple, standard way for teams to manage who is on the team. Since trac.admin provides to many places to setup one user, this plugin tries to provide one single page where a project admin can setup all things related to one user.
Note: This plugin is the next step of TeamRosterPlugin. So, in order to use UserManagerPlugin, please disable TeamRosterPlugin, in case you have it enabled. UserManagerPlugin is compatable ~90% with data managed by TeamRosterPlugin, so switching from TeamRosterPlugin to UserManagerPlugin it's safe(no data loss).
Bugs/Feature Requests
Existing bugs and feature requests for UserManagerPlugin are here.
If you have any issues, create a new ticket.
Download
Download the zipped source from [download:usermanagerplugin here].
Source
You can check out UserManagerPlugin from here using Subversion, or browse the source with Trac.
Example
from tracusermanager.api import UserManager, User # Get user by id(username) user = UserManager(env).get_user( "cbalan" ) # Get active users team = UserManager(env).get_active_users() # Search users ( Dummy example: All active developers that have an gmail account ) search_result_list = UserManager(env).search_users(User( role="developer", email="%gmail.com")) # Create new user UserManager(self.env).create_user(User(username="cbalan", name="Catalin Balan", email="cbalan@optaros.com")) # Update user = UserManager(self.env).get_user('cbalan') user['bio']="""Maecenas ut mauris. Morbi congue nunc ut tortor. Pellentesque molestie cursus enim. Praesent gravida consequat mauris. Nulla cursus cursus magna. Sed libero. Integer dapibus urna in mauris. Fusce fringilla: - Mauris ipsum mauris, semper at, lacinia ultrices, pellentesque eget, arcu. - Etiam vel enim et nunc luctus gravida. Morbi suscipit scelerisque odio. - Mauris porta. Nullam dui. Nullam egestas, massa eu condimentum mattis, enim ipsum tincidunt purus, vitae vestibulum sapien eros vitae libero. """ user.save() # Remove UserManager(env).remove_user(user)
Recent Changes
- 17454 by rjollos on 2019-08-17 00:22:26
-
TracUserManagerPlugin 1.2.0dev: Fix regression in r16852
Fixes #13586.
- 17212 by rjollos on 2018-06-17 06:29:58
-
TracUserManagerPlugin 1.2.0dev: Fix incorrectly bound method
Refs #13442.
- 17211 by rjollos on 2018-06-15 18:16:25
-
TracUserManagerPlugin 1.2.0dev: Conform to PEP8
(more)
Author/Contributors
Author: cbalan
Contributors:
Attachments (7)
-
screenshot2.png (207.5 KB) - added by 16 years ago.
admin.profile
-
screenshot3.png (179.3 KB) - added by 16 years ago.
admin.permissions
-
screenshot4.png (163.3 KB) - added by 16 years ago.
admin.autentication
-
screenshot5.png (170.4 KB) - added by 16 years ago.
admin.profile.customfields
-
screenshot6.png (220.9 KB) - added by 16 years ago.
userprofileslist macro
-
screenshot7.png (201.4 KB) - added by 16 years ago.
admin
-
screenshot-user.png (106.3 KB) - added by 6 years ago.
User page
Download all attachments as: .zip