Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Extending Adding/Removing Members from Security Groups

Go to End

3 Posts   1668 Views


Community Member, 94 Posts

15 March 2010 at 4:31am

Hey All

I'm really struggling to figure out how to extend Security Admin in the way I need too. In short, when I add or remove a Member from a Security Group, I need to make an update to that Member's record (to basically the equivalent of a lastupdateddate field).

It's late and I've been trying to piece together how to do this for a while.. I'd really appreciate some guidance.



Forum Moderator, 801 Posts

13 April 2010 at 8:35pm

There's no direct way to do the equivalent of "onAfterWrite()" in a manymany relationship (through ComponentSet). You'll have to customize MemberTableField for this.


Community Member, 94 Posts

14 April 2010 at 4:48pm

Thanks, again, for getting back to me in these posts. Looks like I'll be having a MemberTableField night :)