AnsweredAssumed Answered

Allow functionality based upon a group

Question asked by michaelc on Jul 8, 2010
Starting to understand the frame work a little now and I wish to modify the functionality a little.

I wish to create a group and then all member of that group would be allowed access to the function, some what like the Admin group.

   <#if user.isAdmin>
   <div class="toolbar">
      <a href="#" id="${args.htmlid}-createSite-button" class="theme-color-1">${msg("link.createSite")}</a>

So my first question is how does isAdmin get defined, I did not see in in the SURF API, did I missunderstand ?

Next: if I wish to add properties to the USER model how do I go about that