Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Permissions on TableListField

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1737 Views
  • JGC
    Avatar
    Community Member
    25 Posts

    Permissions on TableListField Link to this post

    Hi again.

    I'm trying to set permissions on a TableListField object;

          $caseTLF->setPermissions(array(
             'show',
             'edit',
             'delete',
             'export'
          ));

    But the only ones it's paying any attention to are Delete and Export. I know Add, Show and Edit are the other 3 permissions, but how do you set them so they work?

    Thanks.

  • JGC
    Avatar
    Community Member
    25 Posts

    Re: Permissions on TableListField Link to this post

    Anyone? Still struggling with this.

  • Ingo
    Avatar
    Forum Moderator
    801 Posts

    Re: Permissions on TableListField Link to this post

    "add", "show" and "edit" are specific to ComplexTableField, not TableListField.
    Is "delete" not working for you on a TableListField instance?

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