diff options
Diffstat (limited to 'zarb-ml/mageia-webteam/2011-April/000742.html')
-rw-r--r-- | zarb-ml/mageia-webteam/2011-April/000742.html | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/zarb-ml/mageia-webteam/2011-April/000742.html b/zarb-ml/mageia-webteam/2011-April/000742.html new file mode 100644 index 000000000..1dcd83a65 --- /dev/null +++ b/zarb-ml/mageia-webteam/2011-April/000742.html @@ -0,0 +1,92 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-webteam] [Bug 899] Synchronize bugzilla groups with ldap groups + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-webteam%40mageia.org?Subject=Re%3A%20%5BMageia-webteam%5D%20%5BBug%20899%5D%20Synchronize%20bugzilla%20groups%20with%20ldap%0A%09groups&In-Reply-To=%3C20110419225850.CFB6742980%40alamut.mageia.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000741.html"> + <LINK REL="Next" HREF="000743.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-webteam] [Bug 899] Synchronize bugzilla groups with ldap groups</H1> + <B>Michael Scherer</B> + <A HREF="mailto:mageia-webteam%40mageia.org?Subject=Re%3A%20%5BMageia-webteam%5D%20%5BBug%20899%5D%20Synchronize%20bugzilla%20groups%20with%20ldap%0A%09groups&In-Reply-To=%3C20110419225850.CFB6742980%40alamut.mageia.org%3E" + TITLE="[Mageia-webteam] [Bug 899] Synchronize bugzilla groups with ldap groups">bugzilla-daemon at mageia.org + </A><BR> + <I>Wed Apr 20 00:58:50 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="000741.html">[Mageia-webteam] [Bug 899] Synchronize bugzilla groups with ldap groups +</A></li> + <LI>Next message: <A HREF="000743.html">[Mageia-webteam] [Bug 899] Synchronize bugzilla groups with ldap groups +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#742">[ date ]</a> + <a href="thread.html#742">[ thread ]</a> + <a href="subject.html#742">[ subject ]</a> + <a href="author.html#742">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE><A HREF="https://bugs.mageia.org/show_bug.cgi?id=899">https://bugs.mageia.org/show_bug.cgi?id=899</A> + +--- Comment #5 from Michael Scherer <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-webteam">misc at zarb.org</A>> 2011-04-20 00:58:50 UTC --- +I also found /usr/share/bugzilla/bin/bugzilla_ldapsync.rb and +/usr/share/bugzilla/bin/syncLDAP.pl + +Ok so here is a proposal, in pseudo code : + +connect_to_ldap() +@list_of_admin = get_list_of_admin_email() +foreach my $admin (@list_of_admin ) { + $bz_user = get_user($admin->email); + $bz_user->set('groups','admin'); + $bz_user->update(); +} + +and redo for security ? + +I guess that would be like half a day of work ( provided someone is not +interrupted ). + +I didn't found much example of bugzilla API usage, but according to the +documentation, this can be done, so if we just add a cron job, this would be +good. + +-- +Configure bugmail: <A HREF="https://bugs.mageia.org/userprefs.cgi?tab=email">https://bugs.mageia.org/userprefs.cgi?tab=email</A> +------- You are receiving this mail because: ------- +You are on the CC list for the bug. +</PRE> + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000741.html">[Mageia-webteam] [Bug 899] Synchronize bugzilla groups with ldap groups +</A></li> + <LI>Next message: <A HREF="000743.html">[Mageia-webteam] [Bug 899] Synchronize bugzilla groups with ldap groups +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#742">[ date ]</a> + <a href="thread.html#742">[ thread ]</a> + <a href="subject.html#742">[ subject ]</a> + <a href="author.html#742">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-webteam">More information about the Mageia-webteam +mailing list</a><br> +</body></html> |