Jump to:

5539 Posts in 1738 Topics by 1224 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Extending Adding/Removing Members from Security Groups

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

Page: 1
Go to End
Author Topic: 1325 Views
  • dizzystuff
    Avatar
    Community Member
    93 Posts

    Extending Adding/Removing Members from Security Groups Link to this post

    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.

    Thanks
    Dizzy

  • Ingo
    Avatar
    Forum Moderator
    801 Posts

    Re: Extending Adding/Removing Members from Security Groups Link to this post

    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.

  • dizzystuff
    Avatar
    Community Member
    93 Posts

    Re: Extending Adding/Removing Members from Security Groups Link to this post

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

    1325 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.