Modify

Opened 6 years ago

Last modified 12 months ago

#3581 assigned enhancement

UserManagerPlugin - Share user attributes between trac environments

Reported by: cbalan Owned by: rjollos
Priority: normal Component: UserManagerPlugin
Severity: normal Keywords:
Cc: itamarost@… Trac Release: 0.11

Description

Implement IUserAttributesProvider component which should be able to manage user attributes between trac environments.

Attachments (0)

Change History (4)

comment:1 Changed 6 years ago by cbalan

  • Status changed from new to assigned

This ticket is created as result of #3574

comment:2 Changed 6 years ago by izzy

Well, that's what I meant when commenting to #4354 - so I second this request!

comment:3 Changed 6 years ago by itamarost

  • Cc itamarost@… added; anonymous removed

Adding myself to Cc.

I would love having a feature as described here.

Maybe if I describe my use-case, I could influence the design of the feature :-)

My company has one svn repository with multiple projects, each project with its own Trac environment. The svn post-commit script updates tickets and sends notification emails according to a configuration file. The configuration file is repository-wide, and contains section for each project specifying its trac path and a list of contributors that should receive notification mails. The list contains usernames, and the script expands it to full names and email addresses using a custom user store XML document. The XML user store also contains groups, used as "mailing lists".

What I would like is having the above-mentioned user store as the global data-source for user attributes in all trac environments. This way, editing user info in any trac env automatically updates the global store, reflecting in all trac envs, and especially in the post-commit notification.

So basically, what I want is what this ticket describes (global user store), that is also easily accessible from post-commit script (python), and supports definition of user-groups.

If any of this is relevant or useful, I can contribute the XML store and some python code to interact with that store.

comment:4 Changed 12 months ago by rjollos

  • Owner changed from cbalan to rjollos

Add Comment

Modify Ticket

Action
as assigned The owner will remain rjollos.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.