Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Users

ldap import extension privileged users

 

 

Request Tracker users RSS feed   Index | Next | Previous | View Threaded


JThuau at spacex

May 10, 2012, 10:32 AM

Post #1 of 2 (201 views)
Permalink
ldap import extension privileged users

Hello List,

I was looking for a way to get a number of users for a new implementation
of RT to automagically set certain users as "privileged" if they were in a
set of groups.

I write a patch and submitted that to the RT-Extension-LDAPImport bug
tracker. But I now realize that this might already be possible, without my
ugly patch.

I'm thinking about undoing my mess and setup a cron job that would do
something similar (run a LDAP query, get a list, and walk all the users,
and "unprivileged" those that are not in the result set, and privilege the
others).

Does anyone have any suggestions?

Thanks,
Jok
--
| Joachim Thuau | IT Systems Engineer - Linux / SpaceX |
| Cell: 310-890-7937 | Office: 310-363-6153 |


JThuau at spacex

May 10, 2012, 10:46 AM

Post #2 of 2 (202 views)
Permalink
Re: ldap import extension privileged users [In reply to]

Oops -- missed attaching the patch.

This is my first real contribution in perl. Code feedback is welcome! :)

Thanks,
Jok
--
| Joachim Thuau | IT Systems Engineer - Linux / SpaceX |
| Cell: 310-890-7937 | Office: 310-363-6153 |
Attachments: ldap-import-privileged-filter.diff (2.63 KB)

Request Tracker users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.