Jump to:

3429 Posts in 1057 Topics by 734 members

Data Model Questions

SilverStripe Forums » Data Model Questions » Decorate Individual Member Group

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

Page: 1
Go to End
Author Topic: 1071 Views
  • zenmonkey
    Avatar
    Community Member
    527 Posts

    Decorate Individual Member Group Link to this post

    Is it possible to add a decorator only to members in a certain group?

  • Willr
    Avatar
    Forum Moderator
    5483 Posts

    Re: Decorate Individual Member Group Link to this post

    AFAIK not easily - eg if you decorate a member 3 times (1 for each group) each member is going to have the sum of all 3 decorated files. As for front end / functions you could implement things like group permissions to determine if they can run sections of the code / hide functions from members without that permission.

  • zenmonkey
    Avatar
    Community Member
    527 Posts

    Re: Decorate Individual Member Group Link to this post

    Hmm, I was really asking because the Member interface already has an export function. May be better to try to add the export function to another dataobject. This is more an idea I'm playing with than a project requirement.

    Thanks

    1071 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.