Jump to:

3060 Posts in 864 Topics by 646 members

Data Model Questions

SilverStripe Forums » Data Model Questions » Decorate Individual Member Group

Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 926 Views
  • zenmonkey
    Avatar
    Community Member
    483 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
    5163 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
    483 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

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