Skip to Content.
Sympa Menu

grouper-dev - enabled / disabled membership dates

Subject: Grouper Developers Forum

List archive

enabled / disabled membership dates


Chronological Thread 
  • From: Chris Hyzer <>
  • To: "" <>
  • Subject: enabled / disabled membership dates
  • Date: Mon, 2 Nov 2009 03:57:29 -0500
  • Accept-language: en-US
  • Acceptlanguage: en-US

Hey,

 

I finished with enabled/disabled dates:

 

- you can assign these via GSH:

 

membership = group.getImmediateMembership(Group.getDefaultList(), subject, true, true);

membership.setDisabledTime(GrouperUtil.toTimestamp("2009/11/02"));

membership.update();

 

- there is a loader job that you can configure in the grouper-loader.properties

 

#quartz cron-like schedule for enabled/disabled daemon

#leave blank to disable this, the default is 12:01am, 11:01am, 3:01pm every day: 0 1 0,11,15 * * ?

changeLog.enabledDisabled.quartz.cron = 0 1 0,11,15 * * ?

 

- you can run this via gsh for testing

 

loaderRunOneJob("MAINTENANCE__enabledDisabled");

 

I also added some support in the lite UI (see attached images)

 

Thanks,

Chris

 

 

 

Attachment: enabled01.gif
Description: enabled01.gif

Attachment: enabled02.gif
Description: enabled02.gif

Attachment: enabled03.gif
Description: enabled03.gif

Attachment: enabled04.gif
Description: enabled04.gif



  • enabled / disabled membership dates, Chris Hyzer, 11/02/2009

Archive powered by MHonArc 2.6.16.

Top of Page